Commit 2e48ecd9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

oleaut32/tests: Add a test for DosTime.

parent d3bd40d6
......@@ -1759,7 +1759,8 @@ static void test_DosDateTimeToVariantTime(void)
DOS2DT(1,1,1980,0,0,29,1,29221.00032407407); /* 1/1/1980 12:00:28 AM */
DOS2DT(1,1,1980,0,0,31,1,29221.00034722222); /* 1/1/1980 12:00:30 AM */
DOS2DT(1,1,1980,0,59,0,1,29221.04097222222); /* 1/1/1980 12:59:00 AM */
DOS2DT(1,1,1980,0,60,0,0,0.0); /* Invalid seconds */
DOS2DT(1,1,1980,0,60,0,0,0.0); /* Invalid minutes */
DOS2DT(1,1,1980,0,0,60,0,0.0); /* Invalid seconds */
DOS2DT(1,1,1980,23,0,0,1,29221.95833333333); /* 1/1/1980 11:00:00 PM */
DOS2DT(1,1,1980,24,0,0,0,0.0); /* Invalid hours */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment