Example #1
0
def test_times():
    '''
    '''
    #simple sanity check
    utime, stime, zero1, zero2, zero3 = nt.times()
    Assert(utime >= 0)
    Assert(stime >= 0)
    AreEqual(zero1, 0)
    AreEqual(zero2, 0)
Example #2
0
 def test_times(self):
     '''
     '''
     #simple sanity check
     utime, stime, zero1, zero2, zero3 = nt.times()
     self.assertTrue(utime >= 0)
     self.assertTrue(stime >= 0)
     self.assertEqual(zero1, 0)
     self.assertEqual(zero2, 0)
Example #3
0
def test_times():
    '''
    '''
    #simple sanity check
    utime, stime, zero1, zero2, zero3 = nt.times()
    Assert(utime>=0)
    Assert(stime>=0)
    AreEqual(zero1, 0)
    AreEqual(zero2, 0)
Example #4
0
 def test_times(self):
     '''
     '''
     #simple sanity check
     utime, stime, zero1, zero2, zero3 = nt.times()
     self.assertTrue(utime>=0)
     self.assertTrue(stime>=0)
     self.assertEqual(zero1, 0)
     self.assertEqual(zero2, 0)