test for negative time, ref #85

This commit is contained in:
alex 2022-04-22 17:06:15 +01:00
parent 903c065e26
commit 47717e872b

View File

@ -374,6 +374,15 @@ describe('Pattern', function () {
);
});
});
describe('fastcat()', function () {
it('Can go into negative time', function () {
sameFirst(
fastcat('a','b','c')
.late(1000000),
fastcat('a','b','c'),
);
});
});
describe('slowcat()', function () {
it('Can concatenate things slowly', function () {
assert.deepStrictEqual(