Skip to content

InstructionTestCase<THarness, TCycle> Class ​

Definition ​

Base class for instruction-oriented test cases.

c#
public abstract class InstructionTestCase<THarness, TCycle> : TestCase<THarness>
   where THarness : TestHarness<TCycle>

View source

Type Parameters ​

NameDescription
THarnessThe type of harness used to execute the test case.
TCycleThe type used to represent recorded cycles.

Constructors ​

NameDescription
InstructionTestCase(String)Initializes a new instance of the InstructionTestCase<THarness, TCycle> class.

Methods ​

NameDescription
CreateTestHarness<TTestHarness>()Creates and initializes a harness for instruction execution.
InitializeTestHarness(THarness)Initializes a harness before the instruction test runs.