public void Cardiac_Value_OpCode(int startValue, CardiacOpcode expectedOpcode) { var cell = new CardiacRAMCell { Value = startValue }; Assert.AreEqual(expectedOpcode, cell.OpCode); }
public void Cardiac_SetIncorrectValue_OpcodeIsThirdCharacterFromRight(int startValue, CardiacOpcode expectedOpcode) { var cell = new CardiacRAMCell { Value = startValue }; Assert.AreEqual(expectedOpcode, cell.OpCode); }