Skip to content

Commit

Permalink
Update minecraft_tests test
Browse files Browse the repository at this point in the history
  • Loading branch information
dxrcy committed Dec 3, 2024
1 parent 06ff1ff commit 07460e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/minecraft_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ TEST_CASE("Test the main mcpp class") {
SUBCASE("getHeight") {
Coordinate heightTestLoc(300, 200, 300);
mc.setBlock(heightTestLoc, Blocks::DIRT);
auto height = mc.getHeight(heightTestLoc.x, heightTestLoc.z);
auto height = mc.getHeight(heightTestLoc);
CHECK_EQ(height, heightTestLoc.y);

// Clean up
Expand Down

0 comments on commit 07460e3

Please sign in to comment.