def test_icetime_parse(self):
    with open('icetime.txt', 'r') as f:
        m = fpgaperf.icetime_parse(f)
    assert ('max_freq' in m)
    assert (abs((m['max_freq'] - 132940000.0)) < 1.0)
def test_icetime_parse(self):
    with open('icetime.txt', 'r') as f:
        m = fpgaperf.icetime_parse(f)
    assert ('max_freq' in m)
    assert (abs((m['max_freq'] - 132940000.0)) < 1.0)