Esempio n. 1
0
def test_parse_uncore_event_input_fail(event, exception):
    with pytest.raises(exception):
        MeasurementRunner._parse_uncore_event_input(event)
Esempio n. 2
0
def test_parse_uncore_event_input(event, expected_output):
    assert MeasurementRunner._parse_uncore_event_input(
        event) == expected_output