cleaning up files
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
package CognitiveModel.ModelFiles;
|
|
||||||
|
|
||||||
public class Process {
|
|
||||||
|
|
||||||
public Process() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package CognitiveModel.ModelFiles;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
|
|
||||||
public class Tests {
|
|
||||||
|
|
||||||
MindQueue m = new MindQueue();
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void test1() {
|
|
||||||
Integer i = 1;
|
|
||||||
Action a = new Vision();
|
|
||||||
m.push(a);
|
|
||||||
assertEquals(i, m.pop());
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -40,6 +40,7 @@ public abstract class testprocess {
|
|||||||
ScreenFrame f = new ScreenFrame(sm,d);
|
ScreenFrame f = new ScreenFrame(sm,d);
|
||||||
f.initialize();
|
f.initialize();
|
||||||
timer1.start();
|
timer1.start();
|
||||||
|
xpc.sendDREF("sim/time/sim_speed", 5f);
|
||||||
while (m.isActive() && !m.isEmpty()) {
|
while (m.isActive() && !m.isEmpty()) {
|
||||||
innerProcess();
|
innerProcess();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user