# HG changeset patch # User Matthew Wild # Date 1245606658 -3600 # Node ID 8c6e74396e22055d4168dd6a492dd2723cd80f26 # Parent 7f095ddcfd549680bd663cb5f285def36b388319 Add tests including years diff -r 7f095ddcfd54 -r 8c6e74396e22 tests.lua --- 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