Avro.Test.TestSchema.TestPrimitive C# (CSharp) Method

TestPrimitive() private method

private TestPrimitive ( string s, Schema type ) : void
s string
type Schema
return void
        public void TestPrimitive(string s, Schema.Type type)
        {
            Schema sc = Schema.Parse(s);
            Assert.IsTrue(sc is PrimitiveSchema);
            Assert.AreEqual(type, sc.type);
        }