mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
9 lines
124 B
V
9 lines
124 B
V
import time
|
|
|
|
fn test_module_type_cast() {
|
|
a := time.Duration(5)
|
|
b := time.Duration(6)
|
|
//println(a+b)
|
|
assert a+b == 11
|
|
}
|