Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Sep 18, 2024
1 parent 5fd5b38 commit 60755b2
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,25 @@ public void testMaxYBoundFunction() {
assertEquals(size, SymmetryUtil.getMaxYBoundFunction(Symmetry.NONE, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT2, size).applyAsInt(testPoint));
assertEquals(size, SymmetryUtil.getMaxYBoundFunction(Symmetry.XZ, size).applyAsInt(testPoint));
assertEquals(size, SymmetryUtil.getMaxYBoundFunction(Symmetry.X, size).applyAsInt(testPoint));
assertEquals(size - testPoint, SymmetryUtil.getMaxYBoundFunction(Symmetry.DIAG, size).applyAsInt(testPoint));
assertEquals(size - testPoint, SymmetryUtil.getMaxYBoundFunction(Symmetry.ZX, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.Z, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.QUAD, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT4, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT3, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT5, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT6, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT7, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT8, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT9, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT10, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT11, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT12, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT13, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT14, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT15, size).applyAsInt(testPoint));
assertEquals(halfSize, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT16, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.X, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.QUAD, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT4, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT5, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT6, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT7, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT8, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT9, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT10, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT11, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT12, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT13, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT14, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT15, size).applyAsInt(testPoint));
assertEquals(0, SymmetryUtil.getMaxYBoundFunction(Symmetry.POINT16, size).applyAsInt(testPoint));

int dx = 10;
testPoint = halfSize + dx;
Expand Down

0 comments on commit 60755b2

Please sign in to comment.