Additional Range-interval test data

This commit is contained in:
Rene Saarsoo 2020-11-21 18:30:49 +02:00
parent cb7e439a90
commit 51590f1f61
1 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,8 @@ describe("xp()", () => {
}); });
[ [
[53, 5],
[54, 5],
[55, 5], [55, 5],
[56, 5], [56, 5],
[57, 5], [57, 5],
@ -60,6 +62,10 @@ describe("xp()", () => {
[59, 5], [59, 5],
[60, 6], [60, 6],
[61, 6], [61, 6],
[65, 6],
[66, 6],
[67, 6],
[68, 6],
[5 * 60, 30], [5 * 60, 30],
].forEach(([seconds, expectedXp]) => { ].forEach(([seconds, expectedXp]) => {
it(`${seconds}s produces ${expectedXp} XP`, () => { it(`${seconds}s produces ${expectedXp} XP`, () => {