def test_simple(self):
        """Test a simple use of the stopwatch."""

        t = time.time()
        cpu = time.clock()
        self.sw.start()

        self.waste_time()

        t = time.time() - t
        cpu = time.clock() - cpu
        self.sw.stop()

        self.waste_time()

        self.check_times(t, cpu)
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_cube_util.py/TestStopwatch.test_simple/original