pokerogue/test/data/balance/starter-candy-costs.test.ts
NightKev 3f5c37c881
[Balance] The cost of buying same-species eggs can be reduced (#6837)
* [Balance] The cost of buying same-species eggs can be reduced

After hatching a certain number of eggs for a starter,
the cost of buying same-species eggs
for that starter will be reduced (up to 50%)

* Add test to validate array lengths for egg costs
2025-12-09 20:00:20 -08:00

11 lines
430 B
TypeScript

import { __TEST_allStarterCandyCosts } from "#balance/starters";
import { describe, expect, it } from "vitest";
describe("Starter Candy Costs", () => {
it("should have the proper length of arrays in `allStarterCandyCosts`", () => {
for (const starterCandyCosts of __TEST_allStarterCandyCosts) {
expect(starterCandyCosts.eggCosts).toHaveLength(starterCandyCosts.eggCostReductionThresholds.length + 1);
}
});
});