예제 #1
0
        public void CanBeString()
        {
            var value = new Json.Value();
            var match = value.Match("\"acesta este primul test\"");

            Assert.True(match.Success());
            Assert.Equal("", match.RemainingText());
        }
예제 #2
0
 public void CheckIfValueMatchesCorrectlyNullShouldReturnTrue()
 {
     Assert.Equal(true, value.Match("null").Success());
 }