From: Christopher Allan Webber Date: Mon, 23 Nov 2015 01:32:38 +0000 (-0600) Subject: time-minus tests X-Git-Tag: v0.1.0~96 X-Git-Url: https://jxself.org/git/?p=8sync.git;a=commitdiff_plain;h=94843614aea9c785f8c11116a455fd38c8203fb5 time-minus tests --- diff --git a/tests/test-agenda.scm b/tests/test-agenda.scm index bbf22d2..73cd518 100644 --- a/tests/test-agenda.scm +++ b/tests/test-agenda.scm @@ -68,6 +68,11 @@ (time-delta+ '(2 . 3) tdelta) '(12 . 4))) +(test-equal (time-minus '(100 . 100) '(50 . 66)) + '(50 . 34)) +(test-equal (time-minus '(2 . 0) '(0 . 1)) + '(1 . 999999)) + ;;; Schedule tests