Example #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());
        }
Example #2
0
 public void CheckIfValueMatchesCorrectlyNullShouldReturnTrue()
 {
     Assert.Equal(true, value.Match("null").Success());
 }