diff --git a/tests/test_nexus_api.py b/tests/test_nexus_api.py index 8af184a..9453594 100644 --- a/tests/test_nexus_api.py +++ b/tests/test_nexus_api.py @@ -509,10 +509,10 @@ class TestUtilityFunctions: decay = Decimal("1.0") # 1 PEC ammo = Decimal("1.0") # 1 PEC - # Total cost = 2 PEC = 0.02 PED - # DPP = 10 / 0.02 = 500 + # Total cost = 2 PEC + # DPP = damage / total_pec = 10 / 2 = 5.0 dpp = calculate_dpp(damage, decay, ammo) - assert dpp == Decimal("500") + assert dpp == Decimal("5.0") def test_calculate_dpp_zero_cost(self): """Test DPP calculation with zero cost."""