introduce bitloops
This commit is contained in:
@@ -90,10 +90,10 @@ public class MainTest {
|
||||
}
|
||||
@Test
|
||||
public void testHoriz() {
|
||||
assertTrue(Slot.from(1, 0L, 0L).horiz()); // Right
|
||||
assertTrue(Slot.from(3, 0L, 0L).horiz()); // Left
|
||||
assertFalse(Slot.from(0, 0L, 0L).horiz()); // Down
|
||||
assertFalse(Slot.from(2, 0L, 0L).horiz()); // Up
|
||||
assertTrue(Slot.horiz(1)); // Right
|
||||
assertTrue(Slot.horiz(3)); // Left
|
||||
assertFalse(Slot.horiz(0)); // Down
|
||||
assertFalse(Slot.horiz(2)); // Up
|
||||
}
|
||||
@Test
|
||||
public void testGridBasics() {
|
||||
|
||||
Reference in New Issue
Block a user