From 18868128e18d38b706e7df14e8e683e1a9739c17 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Tue, 17 Mar 2026 20:49:22 +1000 Subject: chore: Initial commit --- Q1.tests/Core/InstructionsTests.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Q1.tests/Core/InstructionsTests.cs (limited to 'Q1.tests/Core/InstructionsTests.cs') diff --git a/Q1.tests/Core/InstructionsTests.cs b/Q1.tests/Core/InstructionsTests.cs new file mode 100644 index 0000000..cc7be78 --- /dev/null +++ b/Q1.tests/Core/InstructionsTests.cs @@ -0,0 +1,20 @@ +namespace Q1.tests.Core; + +using core; +using core.Arch; + +[TestFixture] +public class InstructionsTests +{ + + [Test] + public void LookupShouldHaveInstructions() + { + var populatedSets = InstructionSet.Lookup + .Where(x => x != default) + .ToArray(); + + Assert.That(populatedSets, Has.Length.EqualTo(18), + "Expected 8 instruction groups to be defined"); + } +} \ No newline at end of file -- cgit v1.3.1