@pytest.mark.parametrize('test_dict', Mag14_test)
def test_comp_height(self, test_dict):
    'Check that the computation of the height is correct'
    test_obj = test_dict['test_obj']
    result = test_obj.slot.comp_height()
    a = result
    b = test_dict['H_exp']
    msg = ((('Return ' + str(a)) + ' expected ') + str(b))
    assert (a == pytest.approx(b, rel=DELTA)), msg
    b = comp_height(test_obj.slot)
    msg = ((('Return ' + str(a)) + ' expected ') + str(b))
    assert (a == pytest.approx(b, rel=DELTA)), msg
Check that the computation of the height is correct
@pytest.mark.parametrize('test_dict', Mag14_test)
def test_comp_height(self, test_dict):
    
    test_obj = test_dict['test_obj']
    result = test_obj.slot.comp_height()
    a = result
    b = test_dict['H_exp']
    msg = ((('Return ' + str(a)) + ' expected ') + str(b))
    assert (a == pytest.approx(b, rel=DELTA)), msg
    b = comp_height(test_obj.slot)
    msg = ((('Return ' + str(a)) + ' expected ') + str(b))
    assert (a == pytest.approx(b, rel=DELTA)), msg