mirror of
https://github.com/harivansh-afk/veet-code.git
synced 2026-04-15 17:01:03 +00:00
update testing frame and ui
This commit is contained in:
parent
fcb740f0c2
commit
205957c167
8 changed files with 173 additions and 101 deletions
|
|
@ -43,8 +43,7 @@ class TestEdgeCases:
|
|||
{"amount": 10, "category": "Food", "date": "2024-01-01"},
|
||||
{"amount": 20, "category": "food", "date": "2024-01-02"}
|
||||
]
|
||||
result = group_transactions(txns)
|
||||
assert result == {"Food": 10, "food": 20}
|
||||
assert group_transactions(txns) == {"Food": 10, "food": 20}
|
||||
|
||||
def test_many_categories(self):
|
||||
"""Test with many different categories."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue