summaryrefslogtreecommitdiff
path: root/Q1.tests/Core/InstructionsTests.cs
blob: 45c85ee091d6601ce66309f9ed38b5e28b940b1b (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(19), 
            "Expected 19 instruction groups to be defined");
    }
}