tests.lua

changeset 20
1db3ee8b9bc3
parent 18
d6f0c12c152a
child 27
1422a41b53ac
equal deleted inserted replaced
19:0cdb35f96cb6 20:1db3ee8b9bc3
54 check("the friday afternoon after tomorrow", 736200) 54 check("the friday afternoon after tomorrow", 736200)
55 55
56 check("2010", 1262307600); 56 check("2010", 1262307600);
57 check("Tuesday in July 2030", 1909184400); 57 check("Tuesday in July 2030", 1909184400);
58 58
59 check("feed the cat in 3 days", 259200, 13, 23);
60
59 if all_ok then 61 if all_ok then
60 print("OK"); 62 print("OK");
61 end 63 end

mercurial