public void IsAddressInstruction_InputInvalidAddressInstruction_ReturnFalse() { bool isAddressInstruction = SyntaxValidator.IsAddressInstruction("@InvalidAddressInstruction"); Assert.AreEqual(false, isAddressInstruction); }
public void IsAddressInstruction_InputValidAddressInstruction_ReturnTrue() { bool isAddressInstruction = SyntaxValidator.IsAddressInstruction("@1234"); Assert.AreEqual(true, isAddressInstruction); }
public void IsAddressInstruction_InputAddressInstructionWithRightWhitespacePadding_ReturnFalse() { bool isAddressInstruction = SyntaxValidator.IsAddressInstruction("@1234 "); Assert.AreEqual(false, isAddressInstruction); }