Files
agila_open_tool/tools/v/vlib/time/stopwatch_internal_test.v

11 lines
162 B
V

module time
fn test_stopwatch_elapsed_uses_explicit_started_state() {
sw := StopWatch{
started: true
start: 0
end: 7
}
assert sw.elapsed() == 7
}