Commit graph

13 commits

Author SHA1 Message Date
bb6d22d14a test: use vitest instead of jest 2022-08-22 23:42:42 +02:00
de060b381e refactor: improve testing setup 2022-02-13 19:50:43 +01:00
1aa284311f refactor: resturcture files so that lincensing info can be bundled properly 2022-01-31 15:31:45 +01:00
05933af152 cleanup 2021-07-08 08:00:58 +02:00
c46c2c4a0a Fix tests 2021-07-07 23:38:33 +02:00
2d647094f7 Use REUSE to specify licensing info 2021-06-26 22:02:00 +02:00
ff6427f5a9 Fix problem with check target numbers <= 0
The fix has 2 components:
1. The logic for evaluating checks now supports check target numbers<= 0
   by still using a single die in this case
2.  The CheckFactory sets the check target number to 0 even if it would
   be < 0. This is necessary because negative numbers would interfer
   with foundry's math evaluation in rolls and would not be picked up
   correctly.
2021-06-26 16:32:31 +02:00
eeb1aa61f4 Use coups, even if they are higher than the corresponding CTN 2021-03-13 20:58:59 +01:00
98deee1856 Add tests for evaluateCheck 2021-03-13 18:43:23 +01:00
9c1d2f081a Make dice viewable seperately in DS4Check 2021-03-13 17:43:48 +01:00
a542dd1575 add punctuation 2021-03-13 02:32:28 +01:00
ea5eee709e Add function to assign sub checks to dice 2021-03-13 02:27:09 +01:00
af07168c5b Switch to jest 2021-02-11 13:42:38 +01:00