aboutsummaryrefslogtreecommitdiff
path: root/tests/library/date/basic.test.py
diff options
context:
space:
mode:
authornatsuoto <[email protected]>2026-07-11 16:06:27 +0530
committernatsuoto <[email protected]>2026-07-11 16:06:27 +0530
commitafd3c93d23e83fb47d3e9f3c900dbe4ab3f563b5 (patch)
treeda93f5d69255817e172b52b7f61fd48e21170974 /tests/library/date/basic.test.py
parentaae0da040c86c922c2f517c2e1526ea60e59f1af (diff)
downloadedify-afd3c93d23e83fb47d3e9f3c900dbe4ab3f563b5.tar.xz
edify-afd3c93d23e83fb47d3e9f3c900dbe4ab3f563b5.zip
feat(library): reorganize into 22 category folders + flat 200-name re-export at edify.library
Diffstat (limited to 'tests/library/date/basic.test.py')
-rw-r--r--tests/library/date/basic.test.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/library/date/basic.test.py b/tests/library/date/basic.test.py
deleted file mode 100644
index 9b3f45a..0000000
--- a/tests/library/date/basic.test.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from edify.library import date
-
-_TEST_CASES = {
- "1/1/2020": True,
- "01/01/2020": True,
- "1/01/2020": True,
- "01/1/2020": True,
- "1/1/20": False,
- "01/01/20": False,
- "1/1/202": False,
- "01/01/202": False,
- "12/12/2022": True,
- "12/12/2": False,
- "2021-11-04T22:32:47.142354-10:00": False,
- "2021-11-04T22:32:47.142354Z": False,
- "2021-11-04T22:32:47.142354": False,
- "2021-11-04T22:32:47": False,
- "2021-11-04T22:32": False,
- "2021-11-04T22": False,
- "2021-11-04": False,
- "2021-11": False,
- "2021": False,
- "1-1-2020": False,
-}
-
-
-def test_date():
- for candidate, expectation in _TEST_CASES.items():
- assert date(candidate) is expectation