mirror of
https://codeberg.org/sethm/symon.git
synced 2026-11-07 19:12:23 +00:00
Changed the CPU and Device interface a bit.
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user