public void testSimpleXml() { XmlValidator val = new XmlValidator(); Assert.Equal(true, val.validate(@"<root><field1>b</field1><field2>33</field2><field3>-22.5</field3><field4>false</field4></root>")); }
public void testEmptyXml() { XmlValidator val = new XmlValidator(); Assert.Equal(true, val.validate("")); }