def test_top_vs_time_drn_1(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=1, a = self.a, top_vs_time = [self.top_vs_time]), np.array([[ 0.68612566, 0.94612566], [ 0.99057191, 1.29057191]]))
def test_top_vs_time_drn_0(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=0, a=self.a, top_vs_time = [self.top_vs_time]), np.array([[ 0.60745899, 0.78879232], [ 0.83990524, 0.98923858]]))
def test_no_BC(self): #expected is from: assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=0, a = self.a), np.array([[ 0.42612566, 0.42612566], [ 0.69057191, 0.69057191]]))
def test_bot_vs_time_top_vs_time_drn_1_double_loads(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=1, a=self.a, top_vs_time = [self.top_vs_time, self.top_vs_time], bot_vs_time = [self.bot_vs_time, self.bot_vs_time]), np.array([[ 1.10345899, 1.78079232], [ 1.59190524, 2.49323858]]))
def test_bot_vs_time_drn_0(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=0, a=self.a, bot_vs_time = [self.bot_vs_time]), np.array([[ 0.50479232, 0.58345899], [ 0.84123858, 0.99190524]]))
def test_bot_vs_time_drn_0_omega_phase(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=0, a=self.a, bot_vs_time = [self.bot_vs_time], bot_omega_phase=[self.omega_phase]), np.array([[ 0.34824625, 0.47075517], [ 0.54141304, 0.77604878]]))
def test_top_vs_time_drn_0_omega_phase(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=0, a=self.a, top_vs_time = [self.top_vs_time], top_omega_phase=[self.omega_phase]), np.array([[ 0.24660702, 0.52900048], [ 0.54273303, 0.77529235]]))
def test_bot_vs_time_top_vs_time_drn_1(self): assert_allclose(dim1sin_integrate_af(self.m, self.outz, self.tvals, self.v_E_Igamv_the, drn=1, a=self.a, top_vs_time = [self.top_vs_time], bot_vs_time = [self.bot_vs_time]), np.array([[ 0.76479232, 1.10345899], [ 1.14123858, 1.59190524]]))