public void DATE_Data_ScriptsCorrectly() { DateTime baseData = new DateTime(2000, 10, 31); object data = baseData; var fieldInfo = SchemaScriptingTests.FakeColumn("test", "test", 32, "date", false, 0, 0); Assert.AreEqual("'2000-10-31'", FieldScripting.valueAsTSQLLiteral(data, fieldInfo), "date"); Assert.AreEqual("2000-10-31", FieldScripting.formatDate(data, false), "date"); }