Esempio n. 1
0
        public void Byte_With_Valid_Input(ulong expected, string json)
        {
            var result = JsonReader.Byte().Read(JsonUtil.Strictify(json));

            Assert.Equal(expected, result);
        }
Esempio n. 2
0
 public void Byte_With_Invalid_Input(string json)
 {
     Assert.Throws <JsonException>(() => _ = JsonReader.Byte().Read(JsonUtil.Strictify(json)));
 }
Esempio n. 3
0
 public void Byte_Moves_Reader()
 {
     TestMovesReaderPastReadValue(JsonReader.Byte(), "42");
 }