Fix some requirements tests
This commit is contained in:
parent
de0e3f90b8
commit
b3d61149c4
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ describe("Checking maximum levels of requirements met", () => {
|
||||||
cost: Formula.variable(0)
|
cost: Formula.variable(0)
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
expect(maxRequirementsMet(requirements)).toBe(0);
|
expect(maxRequirementsMet(requirements)).compare_tolerance(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Returns correct number of requirements met", () => {
|
test("Returns correct number of requirements met", () => {
|
||||||
|
@ -162,7 +162,7 @@ describe("Checking maximum levels of requirements met", () => {
|
||||||
cost: Formula.variable(0)
|
cost: Formula.variable(0)
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
expect(maxRequirementsMet(requirements)).toBe(10);
|
expect(maxRequirementsMet(requirements)).compare_tolerance(10);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue