Skip to content

InstructionTestSuite<TTestCase> Class ​

Definition ​

Base class for instruction-based test suites that provide TTestCases for Z80 emulator implementations.

c#
public abstract class InstructionTestSuite<TTestCase> : TestSuite
   where TTestCase : InstructionTestCase

View source

Type Parameters ​

NameDescription
TTestCaseThe type of test cases provided by this test suite.

Properties ​

NameDescription
DefaultOptionsThe default InstructionTestSuiteOptions for the test suite.

Methods ​

NameDescription
GetTestCases()Gets all the test cases using the DefaultOptions.
GetTestCases(TestAssertions)Gets all the test cases, overriding the AssertionsToRun on the DefaultOptions.
GetTestCases(IReadOnlyDictionary<String, TestAssertions>)Gets all the test cases, overriding the AssertionsToRun on the DefaultOptions for specific tests.
GetTestCases(TestAssertions, IReadOnlyDictionary<String, TestAssertions>)Gets all the test cases, overriding the AssertionsToRun on the DefaultOptions for all tests along with overrides for specific tests.
GetTestCases(InstructionTestSuiteOptions)Gets all the test cases using the specified InstructionTestSuiteOptions.

See Also ​

Documentation