public void GenerateInstructionFromLineReturnsNullIfInstructionIsUnrecognized1()
        {
            var instruction = instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionUnrecognized1);

            Assert.IsNull(instruction);
        }
 public void GenerateInstructionFromLineThrowsInvalidOperationExceptionForB1InstructionWithDestinationImmediateValue()
 {
     instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB1WithDestinationImmediateValue);
 }
Ejemplo n.º 3
0
 public void GenerateInstructionFromLineThrowsArgumentExceptionForLineInstructionB4WithTooManyArguments()
 {
     instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB4WithTooManyArguments);
 }
 public void GenerateInstructionFromLineThrowsArgumentExceptionForB2InstructionWithImmediateValue()
 {
     instructionGenerator.GenerateInstructionFromLine(Constants.LineInstructionB2WithImmediateValue);
 }