forked from profectus/Profectus
Make tests faster
This commit is contained in:
parent
3078584043
commit
bb0f83e75a
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ import Formula, {
|
||||||
} from "game/formulas";
|
} from "game/formulas";
|
||||||
import Decimal, { DecimalSource } from "util/bignum";
|
import Decimal, { DecimalSource } from "util/bignum";
|
||||||
import { beforeAll, describe, expect, test } from "vitest";
|
import { beforeAll, describe, expect, test } from "vitest";
|
||||||
import { ref, unref } from "vue";
|
import { ref } from "vue";
|
||||||
import "../utils";
|
import "../utils";
|
||||||
|
|
||||||
type FormulaFunctions = keyof GenericFormula & keyof typeof Formula & keyof typeof Decimal;
|
type FormulaFunctions = keyof GenericFormula & keyof typeof Formula & keyof typeof Decimal;
|
||||||
|
|
||||||
const testValues = ["-1e400", 0, 0.25] as const;
|
const testValues = [-1, "0", Decimal.dOne] as const;
|
||||||
|
|
||||||
const invertibleZeroParamFunctionNames = [
|
const invertibleZeroParamFunctionNames = [
|
||||||
"neg",
|
"neg",
|
||||||
|
|
Loading…
Reference in a new issue