|
|
@ -0,0 +1,16 @@ |
|
|
|
package de.tims.fleetstorm.ai; |
|
|
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.assertNotNull; |
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
class LogicTest { |
|
|
|
Logic logic = new Logic(); |
|
|
|
|
|
|
|
@Test |
|
|
|
void testFielIsNotNull() { |
|
|
|
int[] calcResult = logic.chooseField(); |
|
|
|
assertNotNull(calcResult); |
|
|
|
} |
|
|
|
|
|
|
|
} |