This commit is contained in:
Leijurv
2018-08-04 23:25:05 -04:00
parent 72c69eb962
commit b1ced3fe84
8 changed files with 21 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ public class ActionCostsButOnlyTheOnesThatMakeMickeyDieInsideTest {
assertEquals(FALL_N_BLOCKS_COST.length, 257); // Fall 0 blocks through fall 256 blocks
for (int i = 0; i < 257; i++) {
double blocks = ticksToBlocks(FALL_N_BLOCKS_COST[i]);
assertEquals(blocks, i, 0.01);
assertEquals(blocks, i, 0.000000000001); // If you add another 0 the test fails at i=217 LOL
}
}