auradefi 0.1.1
PyPI GitHub

FrozenClock

auradefi.clock · source

Deterministic clock for tests; moves only when advance() is called.

__init__

__init__(self, now_ms: int) -> None

Parameters

now_msrequired, int

none

now_ms

now_ms(self) -> int

advance

advance(self, ms: int) -> None

Parameters

msrequired, int

none