public void GetDataTypeTest() { XsdtTypeConverter target = new XsdtTypeConverter(); Type t = typeof (string); // TODO: Initialize to an appropriate value XsdtPrimitiveDataType expected = XsdtPrimitiveDataType.XsdtString; XsdtPrimitiveDataType actual; actual = target.GetDataType(t); Assert.AreEqual(expected, actual, "LinqToRdf.XsdtTypeConverter.GetDataType did not return the expected value."); }
public void GetDataTypeTest() { XsdtTypeConverter target = new XsdtTypeConverter(); Type t = typeof (string); XsdtPrimitiveDataType expected = XsdtPrimitiveDataType.XsdtString; XsdtPrimitiveDataType actual; actual = target.GetDataType(t); Assert.AreEqual(expected, actual, "VDS.RDF.Linq.XsdtTypeConverter.GetDataType did not return the expected value."); }