Duncan-McD / OCamlStocks

OCaml Bot for Investing
5 stars 1 forks source link

Make tests for scraper.ml #19

Closed PeterNBell closed 3 years ago

PeterNBell commented 3 years ago

1) Create a JSON -> subreddit function within scraper.mli 2) Implement a JSON -> subreddit function within scraper.ml 3) Create an example JSON file "examplesubreddit.json" in the format of a subreddit 4) Create tests in test.ml through comparing the known values within "examplesubreddit.json" to the values that scraper.ml outputs