v/vlib/runtime/runtime_test.v

7 lines
88 B
V
Raw Normal View History

2019-10-11 05:36:46 +02:00
import runtime
fn test_nr_cpus() {
nr_cpus := runtime.nr_cpus()
assert nr_cpus > 0
}