There is already an existing project (albeit defunct) named j6502. Name changed to lm6502.

This commit is contained in:
Seth J. Morabito committed 2008-12-08 14:28:44 -08:00
1 parent 316d0feac6
commit 061eeba85c
8 files changed
+19 -22

No files matched your search

@@ -0,0 +1,32 @@
package com.loomcom.lm6502;
import junit.framework.*;
import java.util.HashMap;
import java.util.Map;
/**
*
*/
public class CpuTest extends TestCase {
public CpuTest(String testName) {
super(testName);
}
public static Test suite() {
return new TestSuite(CpuTest.class);
}
public void testCpu() {
Cpu cpu = new Cpu(new Simulator());
assertNotNull(cpu);
}
public void testGetSimulator() {
Simulator sim = new Simulator();
Cpu cpu = new Cpu(sim);
assertEquals(sim, cpu.getSimulator());
}
}