Add tests including years

Sun, 21 Jun 2009 18:50:58 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 21 Jun 2009 18:50:58 +0100
changeset 8
8c6e74396e22
parent 7
7f095ddcfd54
child 9
dc0c8914ac04

Add tests including years

tests.lua file | annotate | diff | comparison | revisions
--- a/tests.lua	Sun Jun 21 18:49:06 2009 +0100
+++ b/tests.lua	Sun Jun 21 18:50:58 2009 +0100
@@ -49,6 +49,9 @@
 check("the friday morning after tomorrow", 721800)
 check("the friday afternoon after tomorrow", 736200)
 
+check("2010", 1262307600);
+check("Tuesday in July 2030", 1909184400);
+
 if all_ok then
 	print("OK");
 end

mercurial