def test_in_and_out_smear_zone_uavg_uw_muw(self): assert_allclose(u_linear(30, 5, 2, [2, 10], uavg=10, uw=-3, muw=3), [5.52344733, 9.18807294])
def test_in_and_out_smear_zone_s_eq_kap(self): assert_allclose(u_linear(30, 5, 5, [2, 10]), [0.49583999, 0.92019343])
def test_in_and_out_smear_zone(self): assert_allclose(u_linear(30, 5, 2, [2, 10]), [0.35902939, 0.88374505])
def test_outside_smear_zone(self): assert_allclose(u_linear(30, 5, 2, [6, 10]), [0.74728049, 0.88374505])
def test_within_smear_zone(self): assert_allclose(u_linear(30, 5, 2, [1, 2]), [ 0. , 0.35902939])
def test_ideal2(self): assert_allclose(u_linear(10,5,1,[1,5,10]), [ 0. , 0.94367157, 1.14524187])