예제 #1
0
 public void TestDefaultError(AvroSchema schema, string defaultValue)
 {
     Assert.Throws <AvroParseException>(() => DefaultValidator.ValidateString(schema, defaultValue));
 }
예제 #2
0
 public void TestDefault(AvroSchema schema, string defaultValue)
 {
     Assert.DoesNotThrow(() => DefaultValidator.ValidateString(schema, defaultValue));
 }