public EncoderTest(int inputA, int outputA, int inputB, int outputB, EncodingType type) { m_inputA = inputA; m_inputB = inputB; m_outputA = outputA; m_outputB = outputB; //If the encoder from a previous test is allocated then we must free its members s_encoder?.Teardown(); //this.flip = flip == 0; s_encoder = new FakeEncoderFixture(inputA, outputA, inputB, outputB, type); }
public static void TearDownAfterClass() { s_encoder.Teardown(); s_encoder = null; }