Beispiel #1
0
def test_pop_without_tracking():
    assert cpu_tracking._is_not_tracking()
    cpu_tracking.pop_phase()
    assert cpu_tracking._is_not_tracking()
Beispiel #2
0
def test_push_without_tracking():
    cpu_tracking.push_phase("bla")
    assert cpu_tracking._is_not_tracking()
Beispiel #3
0
def test_cpu_tracking_initial_state():
    assert cpu_tracking._is_not_tracking()