Commit graph

20 commits

Author SHA1 Message Date
8dd60c5203 Change buyMax to maximize on repeatables, and make requirements report ability to maximize
Also fixes up some of the requirements tests that weren't actually asserting
2023-02-14 22:29:31 -06:00
e78b295e3e More test fixes 2023-02-14 13:00:31 -06:00
f3ed96f8cf Make clamping functions pass-throughs for inverting 2023-02-14 02:41:33 -06:00
ba19f4a727 Fix some tests 2023-02-14 01:12:11 -06:00
a18ca76e3d Fix some requirements tests 2023-02-09 07:41:58 -06:00
bc941df22b Updated formula typing for non-invertible params in invertible formulas 2023-02-09 06:57:36 -06:00
ad1211ba2a Added tests for requirements 2023-02-07 08:31:09 -06:00
7f3b9dad71 Make requirements support buying max 2023-02-05 02:44:03 -06:00
e45c822787 Fix error about persistent value that isn't part of a layer 2023-02-05 00:25:48 -06:00
a508c6c2e7 Update vitest 2023-02-04 19:16:22 -06:00
6236a33b1b Add some more tests for nested formulas 2023-02-04 18:51:11 -06:00
59347c7db4 Lots of formula changes
Many tests fail and inverting integrals is basically non-functional because it just chains stuff
Will need to implement integration by parts and/or integration by substitution for that
2023-02-04 17:56:05 -06:00
3bc88dd3c2 Added tests for custom formulas 2023-01-19 23:26:46 -06:00
8078599831 Implement conditional formulas 2023-01-19 08:36:16 -06:00
0dcd059ead Implement step-wise functions 2023-01-19 07:45:33 -06:00
532d5e7578 Made formulas comparable and more efficient 2023-01-15 00:06:54 -06:00
96e1eb33b3 Fix some tests. Boy tests run slow 2023-01-08 10:15:46 -06:00
f3f9e7ea5b Support variable anywhere in formula 2023-01-06 00:38:11 -06:00
3c2d3a5cea Formulas implementation (incomplete) 2023-01-05 01:27:44 -06:00
68c8939d60 Fix isFunction typing 2022-11-30 04:35:37 +00:00