test Idle
This commit is contained in:
parent
b1acfcf5e9
commit
11a18f86f3
|
@ -18,6 +18,9 @@ public class TestCpu extends SigarTestCase {
|
||||||
traceln("Sys=" + cpu.getSys());
|
traceln("Sys=" + cpu.getSys());
|
||||||
assertTrue(cpu.getSys() >= 0);
|
assertTrue(cpu.getSys() >= 0);
|
||||||
|
|
||||||
|
traceln("Idle=" + cpu.getIdle());
|
||||||
|
assertTrue(cpu.getIdle() >= 0);
|
||||||
|
|
||||||
traceln("Total=" + cpu.getTotal());
|
traceln("Total=" + cpu.getTotal());
|
||||||
assertTrue(cpu.getTotal() >= 0);
|
assertTrue(cpu.getTotal() >= 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue