chiark / gitweb /
Tests master
authorThomas Thurman <tthurman@gnome.org>
Tue, 26 Oct 2010 06:17:56 +0000 (02:17 -0400)
committerThomas Thurman <tthurman@gnome.org>
Tue, 26 Oct 2010 06:17:56 +0000 (02:17 -0400)
tests/advent-sunday.test.txt [new file with mode: 0644]
tests/easter.test.txt [new file with mode: 0644]
tests/sundays.test.txt [new file with mode: 0644]

diff --git a/tests/advent-sunday.test.txt b/tests/advent-sunday.test.txt
new file mode 100644 (file)
index 0000000..85680d1
--- /dev/null
@@ -0,0 +1,54 @@
+Test-Id: 4
+Note: This is a list of dates of Advent Sunday.
+
+1970-11-29
+1971-11-28
+1972-12-3
+1973-12-2
+1974-12-1
+1975-11-30
+1976-11-28
+1977-11-27
+1978-12-3
+1979-12-2
+1980-11-30
+1981-11-29
+1982-11-28
+1983-11-27
+1984-12-2
+1985-12-1
+1986-11-30
+1987-11-29
+1988-11-27
+1989-12-3
+1990-12-2
+1991-12-1
+1992-11-29
+1993-11-28
+1994-11-27
+1995-12-3
+1996-12-1
+1997-11-30
+1998-11-29
+1999-11-28
+2000-12-3
+2001-12-2
+2002-12-1
+2003-11-30
+2004-11-28
+2005-11-27
+2006-12-3
+2007-12-2
+2008-11-30
+2009-11-29
+2010-11-28
+2011-11-27
+2012-12-2
+2013-12-1
+2014-11-30
+2015-11-29
+2016-11-27
+2017-12-3
+2018-12-2
+2019-12-1
+2020-11-29
diff --git a/tests/easter.test.txt b/tests/easter.test.txt
new file mode 100644 (file)
index 0000000..e0b7029
--- /dev/null
@@ -0,0 +1,54 @@
+Test-Id: 3
+Note: This is a list of dates of Easter.
+
+1970-3-29
+1971-4-11
+1972-4-2
+1973-4-22
+1974-4-14
+1975-3-30
+1976-4-18
+1977-4-10
+1978-3-26
+1979-4-15
+1980-4-6
+1981-4-19
+1982-4-11
+1983-4-3
+1984-4-22
+1985-4-7
+1986-3-30
+1987-4-19
+1988-4-3
+1989-3-26
+1990-4-15
+1991-3-31
+1992-4-19
+1993-4-11
+1994-4-3
+1995-4-16
+1996-4-7
+1997-3-30
+1998-4-12
+1999-4-4
+2000-4-23
+2001-4-15
+2002-3-31
+2003-4-20
+2004-4-11
+2005-3-27
+2006-4-16
+2007-4-8
+2008-3-23
+2009-4-12
+2010-4-4
+2011-4-24
+2012-4-8
+2013-3-31
+2014-4-20
+2015-4-5
+2016-3-27
+2017-4-16
+2018-4-1
+2019-4-21
+2020-4-12
diff --git a/tests/sundays.test.txt b/tests/sundays.test.txt
new file mode 100644 (file)
index 0000000..a257cd9
--- /dev/null
@@ -0,0 +1,36 @@
+Test-Id: 1
+Note: This is a list of all days in January 1975, and the
+Note: result of the function to return to the closest previous
+Note: Sunday for each.
+
+1975-01-01       1826       1823
+1975-01-02       1827       1823
+1975-01-03       1828       1823
+1975-01-04       1829       1823
+1975-01-05       1830       1830 (Sunday)
+1975-01-06       1831       1830
+1975-01-07       1832       1830
+1975-01-08       1833       1830
+1975-01-09       1834       1830
+1975-01-10       1835       1830
+1975-01-11       1836       1830
+1975-01-12       1837       1837 (Sunday)
+1975-01-13       1838       1837
+1975-01-14       1839       1837
+1975-01-15       1840       1837
+1975-01-16       1841       1837
+1975-01-17       1842       1837
+1975-01-18       1843       1837
+1975-01-19       1844       1844 (Sunday)
+1975-01-20       1845       1844
+1975-01-21       1846       1844
+1975-01-22       1847       1844
+1975-01-23       1848       1844
+1975-01-24       1849       1844
+1975-01-25       1850       1844
+1975-01-26       1851       1851 (Sunday)
+1975-01-27       1852       1851
+1975-01-28       1853       1851
+1975-01-29       1854       1851
+1975-01-30       1855       1851
+1975-01-31       1856       1851