diff --git a/tests/game/requirements.test.ts b/tests/game/requirements.test.ts index 2f42414..f6143ca 100644 --- a/tests/game/requirements.test.ts +++ b/tests/game/requirements.test.ts @@ -187,19 +187,9 @@ describe("Creating cost requirement", () => { unref( createCostRequirement(() => ({ resource, - cost: Formula.variable(resource).times(0), - maxBulkAmount: 10 - })).requirementMet - ) - ).compare_tolerance(10)); - - test("Direct sum respected", () => - expect( - unref( - createCostRequirement(() => ({ - resource, - cost: Formula.variable(resource).times(0), - maxBulkAmount: 10 + cost: Formula.variable(resource).times(0.0001), + maxBulkAmount: 10, + cumulativeCost: false })).requirementMet ) ).compare_tolerance(10));