update actor doc and add more actor based tests
This commit is contained in:
6
tests/actor_clock.ce
Normal file
6
tests/actor_clock.ce
Normal file
@@ -0,0 +1,6 @@
|
||||
// Test: $clock fires with a time number
|
||||
$clock(function(t) {
|
||||
if (!is_number(t)) disrupt
|
||||
if (t <= 0) disrupt
|
||||
$stop()
|
||||
})
|
||||
Reference in New Issue
Block a user