Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Dec 12, 2023
1 parent accd4bc commit 5271728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/module/test/test_json_movelist_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ def test_get_movelist_from_json(self):
result = json_movelist_reader.get_movelist_from_json("azucena")
self.assertEqual(result[0]["id"],"Azucena-1")

result = json_movelist_reader.get_movelist_from_json("azu")
self.assertEqual(result[0]["id"],"Azucena-1")

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")
Expand Down
2 changes: 1 addition & 1 deletion src/wavu/test/test_wavu_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class MyTestCase(unittest.TestCase):

def test_get_character_movelist(self):
character_movelist = wavu_reader.get_character_movelist("Azucena")
self.assertEqual(character_movelist[44].input,"BT.3")
self.assertEqual(character_movelist[0].input,"1")


def test_get_move(self):
Expand Down

0 comments on commit 5271728

Please sign in to comment.