1
0
Fork 0

Add another loopingcounter test.

This commit is contained in:
namedkitten 2020-07-23 15:03:18 +01:00
parent 48cbb97935
commit 321105ecbd

View file

@ -40,3 +40,10 @@ test "looping test" {
lc.next(); lc.next();
testing.expect(lc.get() == 0); testing.expect(lc.get() == 0);
} }
test "0 value test" {
var lc = LoopingCounter(0).init();
testing.expect(lc.get() == 0);
lc.next();
testing.expect(lc.get() == 0);
}