projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix up readme to say %8sync
[8sync.git]
/
tests
/
test-agenda.scm
diff --git
a/tests/test-agenda.scm
b/tests/test-agenda.scm
index 73cd51876083760c1d84e6900fac43b68969e3e8..781703b3ead8544e27ef8feb7dc0d7a9a122dc4a 100644
(file)
--- a/
tests/test-agenda.scm
+++ b/
tests/test-agenda.scm
@@
-73,6
+73,11
@@
(test-equal (time-minus '(2 . 0) '(0 . 1))
'(1 . 999999))
(test-equal (time-minus '(2 . 0) '(0 . 1))
'(1 . 999999))
+(test-equal (time-plus '(50 . 34) '(50 . 66))
+ '(100 . 100))
+(test-equal (time-plus '(1 . 999999) '(1 . 2))
+ '(3 . 1))
+
\f
;;; Schedule tests
\f
;;; Schedule tests
@@
-258,7
+263,7
@@
8)
;; whoa, I'm surprised equal? can
;; compare records like this
8)
;; whoa, I'm surprised equal? can
;; compare records like this
- (tdelta 8
0
))
+ (tdelta 8))
;; TODO: test %port-request
;; TODO: test %sync and friends!
;; TODO: test %port-request
;; TODO: test %sync and friends!