Changed the CPU and Device interface a bit.

This commit is contained in:
Seth Morabito committed 2008-12-11 17:22:39 -08:00
1 parent a54dbc323d
commit 8df561d292
8 files changed
+90 -97

No files matched your search

@@ -19,14 +19,8 @@ public class CpuTest extends TestCase {
}
public void testCpu() {
Cpu cpu = new Cpu(new Simulator());
Cpu cpu = new Cpu();
assertNotNull(cpu);
}
public void testGetSimulator() {
Simulator sim = new Simulator();
Cpu cpu = new Cpu(sim);
assertEquals(sim, cpu.getSimulator());
}
}