Commit Graph

13 Commits

Author SHA1 Message Date
130cc74c87 License added 2023-06-06 10:10:33 +10:00
5143ac8801 Solution 2023-06-06 10:07:13 +10:00
renovate[bot]
44824de57f fix(deps): update dependency pandas to v1.5.3 2023-03-21 11:33:09 +00:00
Kristofer Koishigawa
d0b37c6542
fix: remove .replit and replit.nix files (#12) 2022-12-03 11:05:24 +09:00
Jeremy L Thompson
a8f010243f
test - faster test suite by only initalizing once (#11) 2022-09-29 21:43:26 +02:00
Krzysztof G
95d5584ef1
fix: use correct method for list comparing (#4)
`assertAlmostEqual` is able to determine if lists are equal, but it cannot
determine if corresponding elements are almost equal. `assertCountEqual`
checks if lists have the same elements, regardless of the order.
2022-09-26 10:34:44 -06:00
Krzysztof G
f831f24802
fix(config): add replit.nix config (#9) 2022-07-20 15:31:04 +09:00
Naomi Carrigan
4a1efd05cc
chore: clean up readme (#8) 2022-05-03 18:07:51 -05:00
PBM
1a010b2c49
fix: typos in README file and tests (#6)
* test: fix typo in test assertion error message

* docs: fix typo in README file
2021-07-08 12:21:38 +02:00
renovate[bot]
9cdd9b4358
Configure Renovate (#5)
* Add renovate.json

* Update renovate.json

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-04 09:48:27 +02:00
ngschaider
c887194ed6
Unit tests raising Error. (#2)
* fixed assertAlmostEqual calls in tests

As you can see in the docs the signature of assertAlmostEqual is `assertAlmostEqual(first, second, places=7, msg=None, delta=None)`
Since the message is originally provided using a positional argument and only three arguments where given, the message effectively took the place of the `places` argument.

The default of places=7 is fine, we just have to use a keyword argument instead and this will resolve the resulting `TypeError`s when testing

* change assertAlmostEqual to assertEqual for string

assertAlmostEqual only makes sense when asserting ints/floats

* no need for keyword argument

Signature of method is `assertEqual(first, second, msg=None)`
Using a keyword argument is not required here.

Co-authored-by: ngschaider <gschaiderniklas@gmail.com>
2021-02-03 19:07:02 -06:00
Tom
0a01eb1418
feat: add replit config (#1) 2020-09-29 14:49:41 -07:00
moT01
ecb71658a1 init 2020-09-29 12:23:25 -05:00