xeroc/bitshares-pricefeed

Add unit tests

Opened this issue · 1 comments

It will be much easier to maintain the tool if there is some unit test.

Examples of usefull tests:

  • a test for each source that check that the code can compute the price. This will detect big errors like API changes and allow to quickly see which sources work.
  • a test for each "Algorithm Based Asset" (HERO, HERTZ, ...)