blob: 1f433af332cc962cd9b52e65fae5c11c2511fd0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package de.hysky.skyblocker.utils;
import net.minecraft.util.math.BlockPos;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class PosUtilsTest {
@Test
void testParsePosString() {
Assertions.assertEquals(PosUtils.parsePosString("-1,0,1"), new BlockPos(-1, 0, 1));
}
@Test
void testGetPosString() {
Assertions.assertEquals(PosUtils.getPosString(new BlockPos(-1, 0, 1)), "-1,0,1");
}
}
|