projects
/
8sync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4758f0a
)
Initial test for schedule-extract-until!
author
Christopher Allan Webber
<cwebber@dustycloud.org>
Thu, 19 Nov 2015 04:04:00 +0000
(22:04 -0600)
committer
Christopher Allan Webber
<cwebber@dustycloud.org>
Thu, 19 Nov 2015 04:04:00 +0000
(22:04 -0600)
tests.scm
patch
|
blob
|
history
diff --git
a/tests.scm
b/tests.scm
index 52d05ba86e09c23dc777149c67beb7fac2b51949..228f39febd19cf9c656fb9db99bbf35d758fb0f2 100644
(file)
--- a/
tests.scm
+++ b/
tests.scm
@@
-114,6
+114,13
@@
'((8 . 1) (10 . 0) (10 . 10) (11 . 0))
'())
+;; Break off half of those and do some tests on them
+(define some-extracted
+ (schedule-extract-until! sched 10))
+(assert-times-expected some-extracted '((8 . 1) (10 . 0)))
+(assert-times-expected (schedule-segments sched) '((10 . 10) (11 . 0)))
+
+
;; End tests
(test-end "tests")