tests.lua

changeset 8
8c6e74396e22
parent 2
bb0892bc9687
child 18
d6f0c12c152a
equal deleted inserted replaced
7:7f095ddcfd54 8:8c6e74396e22
47 check("friday", 86400); 47 check("friday", 86400);
48 check("the friday after tomorrow", 691200); 48 check("the friday after tomorrow", 691200);
49 check("the friday morning after tomorrow", 721800) 49 check("the friday morning after tomorrow", 721800)
50 check("the friday afternoon after tomorrow", 736200) 50 check("the friday afternoon after tomorrow", 736200)
51 51
52 check("2010", 1262307600);
53 check("Tuesday in July 2030", 1909184400);
54
52 if all_ok then 55 if all_ok then
53 print("OK"); 56 print("OK");
54 end 57 end

mercurial