def test_depol_approach_to_isotropy_below(): depol = depolarization_factors(length_ratio=0.99) ok_(abs(depol[0] - (1. / 3.)) < low_tolerance)
def test_hoar_columns_depol(): depol = depolarization_factors(length_ratio=0.5) assert depol[0] < depol[2]
def test_isotropic_default_depolarization_factors(): depol = depolarization_factors() ok_(abs(depol[0] - depol[2]) < high_tolerance)
def test_plates_depol(): depol = depolarization_factors(length_ratio=1.5) assert depol[0] > depol[2]
def test_depol_approach_to_isotropy_above(): depol = depolarization_factors(length_ratio=1.01) assert abs(depol[0] - (1. / 3.)) < low_tolerance