mirror of
https://github.com/Noratrieb/Java2DGame.git
synced 2026-01-15 22:45:00 +01:00
organized things
This commit is contained in:
parent
8cd6b71fd0
commit
9502ea97b8
11 changed files with 119 additions and 107 deletions
15
src/test/java/core/general/InputTest.java
Normal file
15
src/test/java/core/general/InputTest.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package core.general;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class InputTest {
|
||||
|
||||
@Test
|
||||
void simpleTest(){
|
||||
Input.addPressedKey(10);
|
||||
assertTrue(Input.keyPressed(10));
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue