예제 #1
0
        public void TestBiggerEqualsWrong()
        {
            //Arrange
            BuildSnippetInterpreter(BuildAllocationSnippet("#wrong", True.Gte("1")), false);

            //Act
            interpreter.Execute().Should().BeFalse();

            //Assert
            parser.Errors.Should().HaveCount(1).And.ContainMatch($"*élément invalide '{Tokens.Gte[0]}'*");
        }