There was an error while loading. Please reload this page.
2 parents 13265d9 + e7f43ae commit 30d882dCopy full SHA for 30d882d
1 file changed
jindong/src/commonTest/kotlin/io/github/jindong/node/RepeatNodeTest.kt
@@ -97,7 +97,7 @@ class RepeatNodeTest :
97
}
98
99
100
- test("collectEvents should handle DelayNode by advancing time only") {
+ test("collectEvents should offset next iteration start time by delay duration") {
101
val node = RepeatNode(count = 2)
102
node.children.add(HapticEventNode(durationMs = 50, intensity = 0.8f))
103
node.children.add(DelayNode(durationMs = 100))
@@ -117,7 +117,7 @@ class RepeatNodeTest :
117
118
119
120
- test("collectEvents should handle only DelayNodes") {
+ test("collectEvents should not produce events for pure delay nodes") {
121
val node = RepeatNode(count = 3)
122
123
0 commit comments