From f813104ec40fc533ce75a3b65dde33dd80cd3371 Mon Sep 17 00:00:00 2001 From: Glease <4586901+Glease@users.noreply.github.com> Date: Mon, 12 Sep 2022 19:16:06 +0800 Subject: [PATCH] fix tests --- .../alignment/enumerable/ExtendedFacingTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacingTest.java b/src/test/java/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacingTest.java index 5ac10b89..333f6ce8 100644 --- a/src/test/java/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacingTest.java +++ b/src/test/java/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacingTest.java @@ -19,6 +19,10 @@ class ExtendedFacingTest { @Test void ensureGetWorldDirectionIsCorrect() { - assertEquals(ForgeDirection.UP, ExtendedFacing.EAST_NORMAL_NONE.getWorldDirection(ForgeDirection.UP)); + assertEquals(ForgeDirection.DOWN, ExtendedFacing.EAST_NORMAL_NONE.getWorldDirection(ForgeDirection.UP)); + assertEquals(ForgeDirection.DOWN, ExtendedFacing.NORTH_NORMAL_NONE.getWorldDirection(ForgeDirection.UP)); + assertEquals(ForgeDirection.NORTH, ExtendedFacing.NORTH_NORMAL_NONE.getWorldDirection(ForgeDirection.NORTH)); + assertEquals(ForgeDirection.NORTH, ExtendedFacing.NORTH_CLOCKWISE_NONE.getWorldDirection(ForgeDirection.NORTH)); + assertEquals(ForgeDirection.DOWN, ExtendedFacing.NORTH_CLOCKWISE_NONE.getWorldDirection(ForgeDirection.EAST)); } }