test Idle

This commit is contained in:
Doug MacEachern 2004-11-02 23:17:37 +00:00
parent b1acfcf5e9
commit 11a18f86f3
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ public class TestCpu extends SigarTestCase {
traceln("Sys=" + cpu.getSys());
assertTrue(cpu.getSys() >= 0);
traceln("Idle=" + cpu.getIdle());
assertTrue(cpu.getIdle() >= 0);
traceln("Total=" + cpu.getTotal());
assertTrue(cpu.getTotal() >= 0);
}