diff --git a/tests/test_mech/__init__.py b/tests/test_mech/__init__.py index ccead65..047914d 100644 --- a/tests/test_mech/__init__.py +++ b/tests/test_mech/__init__.py @@ -19,13 +19,13 @@ OUTER_ARMOR = { ZoneNames.MIDDLE_TORSO_FRONT: 8, ZoneNames.MIDDLE_TORSO_REAR: 4, ZoneNames.LEFT_TORSO_FRONT: 8, - ZoneNames.LEFT_TORSO_REAR: 3, + ZoneNames.LEFT_TORSO_REAR: 2, ZoneNames.RIGHT_TORSO_FRONT: 8, - ZoneNames.RIGHT_TORSO_REAR: 3, + ZoneNames.RIGHT_TORSO_REAR: 2, ZoneNames.LEFT_ARM: 5, ZoneNames.RIGHT_ARM: 5, - ZoneNames.LEFT_LEG: 7, - ZoneNames.RIGHT_LEG: 7, + ZoneNames.LEFT_LEG: 8, + ZoneNames.RIGHT_LEG: 8, } NEXT_OUTER_ZONE = { diff --git a/tests/test_mech_bau.py b/tests/test_mech_bau.py index d39aef0..8c5f2b8 100755 --- a/tests/test_mech_bau.py +++ b/tests/test_mech_bau.py @@ -161,3 +161,23 @@ class TestMechAmor(AbstractTestMechAmor): zone = mech.inner_structure.zones.get(zone_name) should_outer_armor = OUTER_ARMOR[zone_name] self.assertEqual(should_outer_armor, zone.armor) + + +class TestMechWeightWatch(AbstractTestMechAmor): + + def test_watch(self): + watcher = self.factory.watcher + ''' + Aufstellung Gewichte: + Bauteil | Gewicht in Tonnen + ------------------------------------ + Reaktor | 6.0 + Gyroskope | 2.0 + Interne-Struktur | 2.0 + Cockpit | 3.0 + Panzerung | 4.0 + ------------------------------------ + | 17.0 + ''' + self.assertEqual(17.0, watcher.actual_weight) + self.assertEqual(3.0, watcher.rest_weight)