def test_25(self): test_res = nan_dot(self.mx_2, self.mx_5) expected_res = np.array([[0., np.nan], [0., 5.]]) assert_array_equal(test_res, expected_res)
def test_66(self): test_res = nan_dot(self.mx_6, self.mx_6) expected_res = np.array([[7., 10.], [15., 22.]]) assert_array_equal(test_res, expected_res)
def test_24(self): test_res = nan_dot(self.mx_2, self.mx_4) expected_res = np.array([[np.nan, 0.], [5., 0.]]) assert_array_equal(test_res, expected_res)
def test_32(self): test_res = nan_dot(self.mx_3, self.mx_2) expected_res = np.array([[0., 0.], [0., 0.]]) assert_array_equal(test_res, expected_res)
def test_41(self): test_res = nan_dot(self.mx_4, self.mx_1) expected_res = np.array([[np.nan, 1.], [np.nan, 1.]]) assert_array_equal(test_res, expected_res)
def test_12(self): test_res = nan_dot(self.mx_1, self.mx_2) expected_res = np.array([[np.nan, np.nan], [np.nan, np.nan]]) assert_array_equal(test_res, expected_res)
def test_11(self): # TODO: BETTER NAME test_res = nan_dot(self.mx_1, self.mx_1) expected_res = np.array([[np.nan, np.nan], [np.nan, 11.]]) assert_array_equal(test_res, expected_res)