Skip to content

Commit

Permalink
Add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Nov 21, 2023
1 parent 6de575a commit c26491e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/module/test/test_json_movelist_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ def test_get_move(self):
azu_move_list = json_movelist_reader.get_movelist_from_json("azucena")
move = json_movelist_reader.get_move("d/f+1",azu_move_list)
self.assertEqual(move["id"],"Azucena-df+1")
move = json_movelist_reader.get_move("df141",azu_move_list)
self.assertEqual(move["id"],"Azucena-df+1,4,1")
move = json_movelist_reader.get_move("fc df3",azu_move_list)
self.assertEqual(move["id"],"Azucena-FC.df+3")

move = json_movelist_reader.get_move("LIB 2",azu_move_list)
self.assertEqual(move["id"],"Azucena-LIB.2")
move = json_movelist_reader.get_move("LIB.2",azu_move_list)
Expand Down

0 comments on commit c26491e

Please sign in to comment.