summaryrefslogtreecommitdiff
path: root/Q1.tests/Core/InstructionsTests.cs
blob: cc7be784c96bbf37cbea8a8e33c3727eef313ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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");
    }
}