tests.lua

changeset 2
bb0892bc9687
parent 0
44416491923e
child 8
8c6e74396e22
--- a/tests.lua	Sun Jun 21 17:55:38 2009 +0100
+++ b/tests.lua	Sun Jun 21 18:00:07 2009 +0100
@@ -39,6 +39,16 @@
 check("next week", 604800);
 check("next year", 31536000);
 
+check("monday", 345600);
+check("Monday", 345600);
+check("tuesday", 432000);
+check("wednesday", 518400);
+check("thursday", 604800);
+check("friday", 86400);
+check("the friday after tomorrow", 691200);
+check("the friday morning after tomorrow", 721800)
+check("the friday afternoon after tomorrow", 736200)
+
 if all_ok then
 	print("OK");
 end

mercurial