Add unit test

This commit is contained in:
sunkaixuan
2024-02-29 13:49:19 +08:00
parent f3528cb6f1
commit 27dfcbb668

View File

@@ -21,7 +21,7 @@ namespace OrmTest
var x5 = db.Queryable<Order>().Select(it => new { x = DateTime.Now.DayOfWeek.ToString() }).ToList();
if (x1.Any())
{
Check.Exception(x1.First()!=365, "unit error . UCustom011");
Check.Exception(x1.First()!=366|| x1.First() != 365, "unit error . UCustom011");
Check.Exception(x2.First() != 24, "unit error . UCustom011");
Check.Exception(x3.First() != 60, "unit error . UCustom011");
Check.Exception(x4.First() != 60, "unit error . UCustom011");