I'm opening this issue for discussion, as I'm not sure what the best solution is, and would like some feedback before opening a PR.
The test case below is confusing. It doesn't make sense why the expected response for an "invalid" input is all by one of the allowed data types. If we're going to expect error handling of this manner, then at a minimum, it should be documented better in the Readme. I'd prefer to just drop this test case, as I don't think it adds value to this exercise, though.
testCase "ignore non allergen score parts" $
[ Eggs, Shellfish, Strawberries, Tomatoes, Chocolate
, Pollen, Cats ] @=? allergies 509
I'm opening this issue for discussion, as I'm not sure what the best solution is, and would like some feedback before opening a PR.
The test case below is confusing. It doesn't make sense why the expected response for an "invalid" input is all by one of the allowed data types. If we're going to expect error handling of this manner, then at a minimum, it should be documented better in the Readme. I'd prefer to just drop this test case, as I don't think it adds value to this exercise, though.