v/vlib/v/tests/module_type_cast_test.v

9 lines
127 B
V

import time
fn test_module_type_cast() {
a := time.Duration(5)
b := time.Duration(6)
// println(a+b)
assert a + b == 11
}