timmolter/XChange — pull request #352 by whitslack (2014-03-06 14:21:06+00:00)
Title: fix TestCoinfloorAdapters (broken by a5641df)

My previous change introduced test failures in `TestCoinfloorAdapters`. This commit fixes them.

It should be noted that the `CoinfloorTicker` DTO really cannot always be constructed in the absence of contextual information regarding the base and counter assets, which are not indicated in the response to the `WatchTicker` command but are indicated in the `TickerChanged` notifications. Since Coinfloor is presently only using BTC and GBP, assuming those is okay for now, but really the raw DTOs should hold the raw, integer values from the API, the XChange-cooked DTOs should hold the cooked, BigDecimal values, and the adapter should provide the necessary context to convert the raw values to the cooked values.