1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/runtime/runtime_test.v
2019-10-13 01:01:15 +03:00

7 lines
88 B
V

import runtime
fn test_nr_cpus() {
nr_cpus := runtime.nr_cpus()
assert nr_cpus > 0
}