assert individualy

This commit is contained in:
Mark Canlas 2024-04-11 09:48:56 -04:00
parent f6fb9546c7
commit 42a3df32a4
1 changed files with 3 additions and 1 deletions

View File

@ -18,13 +18,15 @@ class FeatureSpec extends AnyFunSuite with Matchers:
ExampleRegister
.writeConst(2)[Reg.A] shouldBe "LDA 2 STA 1 ; example = 2, via A"
test("writing to an address can use A, X, and Y registers for bouncing"):
test("writing to an address can use A registers for bouncing"):
ExampleRegister
.writeConst(2)[Reg.A] shouldBe "LDA 2 STA 1 ; example = 2, via A"
test("writing to an address can use X registers for bouncing"):
ExampleRegister
.writeConst(2)[Reg.X] shouldBe "LDX 2 STX 1 ; example = 2, via X"
test("writing to an address can use Y registers for bouncing"):
ExampleRegister
.writeConst(2)[Reg.Y] shouldBe "LDY 2 STY 1 ; example = 2, via Y"