Permalink
Browse files

testing atom's shit

  • Loading branch information...
Jinx Jinx
Jinx authored and Jinx committed Jan 13, 2018
1 parent c6669ce commit ff4d53f4edb5bdb5f8d6d7e21850143df7e2e0d3
Showing with 6 additions and 6 deletions.
  1. +6 −5 test/cpu.stack.test.js
  2. +0 −1 test/memory.test.js
View
@@ -16,12 +16,13 @@ describe('CPU Stack', () => {
});
/*
If the AF Register pair contains 2233h and the Stack Pointer contains 1007h,
then upon the execution of a PUSH AF instruction,
memory address 1006h contains 22h,
memory address 1005h contains 33h,
and the Stack Pointer contains 1005h.
If the AF Register pair contains 2233h and the Stack Pointer contains 1007h,
then upon the execution of a PUSH AF instruction,
memory address 1006h contains 22h,
memory address 1005h contains 33h,
and the Stack Pointer contains 1005h.
*/
describe('spec example', () => {
beforeEach(() => {
cpu.af = 0x2233;
View
@@ -113,6 +113,5 @@ describe('Memory', () => {
expect(memory.cartType).to.eql(byte);
});
});
});
});

0 comments on commit ff4d53f

Please sign in to comment.