time-minus tests
[8sync.git] / tests / test-agenda.scm
index bbf22d28fbaaa98a1184092a9fe0fffeabef9612..73cd51876083760c1d84e6900fac43b68969e3e8 100644 (file)
       (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))
+
 
 \f
 ;;; Schedule tests