Skip to content

Commit

Permalink
Fix test blast damage
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberiaResurrection committed Nov 23, 2024
1 parent f5fa6c3 commit 14d5cf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/Inputs/testStarlineParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_parser_screwball_synthetic_starline_5(self):
self.assertEqual('', transformed[17], 'Unexpected residual')

def test_parser_screwball_synthetic_starline_6(self):
txt = '0000 000000000000000 0000000-0 000000000000000 - - R 000 000000'
txt = '0000 000000000000000 ?000000-0 000000000000000 - - R 000 000000'

foo = StarlineParser()
result, txt = foo.parse(txt)
Expand All @@ -171,7 +171,7 @@ def test_parser_screwball_synthetic_starline_6(self):
self.assertTrue(isinstance(transformed, list), "Transformed result not list")
self.assertEqual('0000', transformed[0], 'Unexpected hex position')
self.assertEqual('000000000000000', transformed[1], 'Unexpected name')
self.assertEqual('0000000-0', transformed[2], 'Unexpected UWP')
self.assertEqual('?000000-0', transformed[2], 'Unexpected UWP')
self.assertEqual('000000000000000', transformed[3], 'Unexpected trade codes')
self.assertEqual('', transformed[4])
self.assertEqual(None, transformed[5])
Expand Down Expand Up @@ -261,7 +261,7 @@ def test_parser_screwball_synthetic_starline_9(self):
self.assertEqual('', transformed[17], 'Unexpected residual')

def test_parser_screwball_synthetic_starline_10(self):
txt = '0000 000000000000000 0000000-0 000000000000000 - - - 000 00'
txt = '0000 000000000000000 ?000000-0 000000000000000 - - - 000 00'

foo = StarlineParser()
result, txt = foo.parse(txt)
Expand All @@ -271,7 +271,7 @@ def test_parser_screwball_synthetic_starline_10(self):
self.assertTrue(isinstance(transformed, list), "Transformed result not list")
self.assertEqual('0000', transformed[0], 'Unexpected hex position')
self.assertEqual('000000000000000', transformed[1], 'Unexpected name')
self.assertEqual('0000000-0', transformed[2], 'Unexpected UWP')
self.assertEqual('?000000-0', transformed[2], 'Unexpected UWP')
self.assertEqual('000000000000000', transformed[3], 'Unexpected trade codes')
self.assertEqual('', transformed[4])
self.assertEqual(None, transformed[5])
Expand Down

0 comments on commit 14d5cf0

Please sign in to comment.