Skip to content

Commit ffab6ba

Browse files
committed
Test fix.
1 parent cb42a9c commit ffab6ba

File tree

1 file changed

+1
-1
lines changed
  • ocraft-s2client-protocol/src/test/java/com/github/ocraft/s2client/protocol/spatial

1 file changed

+1
-1
lines changed

ocraft-s2client-protocol/src/test/java/com/github/ocraft/s2client/protocol/spatial/Point2dTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void performsBasicMathOperations() {
113113
void convertsToPoint() {
114114
Point2d p0 = Point2d.of(2, 4);
115115

116-
assertThat(p0.toPoint2d(1)).isEqualTo(Point.of(2, 4, 1));
116+
assertThat(p0.toPoint(1)).isEqualTo(Point.of(2, 4, 1));
117117
}
118118

119119
@Test

0 commit comments

Comments
 (0)