public void ParseInstruction_Returns_Correct_Jump_When_Jump_Is_Specified(string input, ComputeJumpType expected)
        {
            // arrange
            var parser = new ComputeJumpParser();

            // act
            ComputeJumpType result = parser.ParseComputeJump(input);

            // assert
            Assert.AreEqual(expected, result);
        }
        public void ParseInstruction_Throws_ArgumentException_When_Jump_Cannot_Be_Parsed()
        {
            // arrange
            const string input = "LOL";
            var parser = new ComputeJumpParser();

            // act
            TestDelegate testAction = () => parser.ParseComputeJump(input);

            // assert
            Assert.Throws<ArgumentException>(testAction);
        }
        public void ParseInstruction_Returns_None_When_Jump_Is_Empty()
        {
            // arrange
            string input = string.Empty;
            var parser = new ComputeJumpParser();

            // act
            ComputeJumpType result = parser.ParseComputeJump(input);

            // assert
            Assert.AreEqual(ComputeJumpType.None, result);
        }