public void GenerateInstructionFromLineReturnsNullIfInstructionIsUnrecognized1() { var instruction = instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionUnrecognized1); Assert.IsNull(instruction); }
public void GenerateInstructionFromLineThrowsInvalidOperationExceptionForB1InstructionWithDestinationImmediateValue() { instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB1WithDestinationImmediateValue); }
public void GenerateInstructionFromLineThrowsArgumentExceptionForLineInstructionB4WithTooManyArguments() { instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB4WithTooManyArguments); }
public void GenerateInstructionFromLineThrowsArgumentExceptionForB2InstructionWithImmediateValue() { instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB2WithImmediateValue); }