tests.lua

changeset 27
1422a41b53ac
parent 20
1db3ee8b9bc3
equal deleted inserted replaced
26:309073a2bb53 27:1422a41b53ac
24 check("tomorrow morning", 117000); 24 check("tomorrow morning", 117000);
25 check("tomorrow noon", 126000); 25 check("tomorrow noon", 126000);
26 check("tomorrow afternoon", 131400); 26 check("tomorrow afternoon", 131400);
27 check("tomorrow evening", 145800); 27 check("tomorrow evening", 145800);
28 check("tomorrow midnight", 82800); -- Correct, but expected? :) 28 check("tomorrow midnight", 82800); -- Correct, but expected? :)
29
30 check("the day after tomorrow", 172800, 0, 23);
29 31
30 check("in 1 hour", 3600); 32 check("in 1 hour", 3600);
31 check("in an hour", 3600); 33 check("in an hour", 3600);
32 check("in 2 hours", 7200); 34 check("in 2 hours", 7200);
33 check("in a couple of hours", 7200); 35 check("in a couple of hours", 7200);

mercurial