Exemple #1
0
    def test_delta_estimate(self):
        """Test if a 2-dimensional numpy array is returned.
        """
        crkr = CrKr(self.S_2x3, self.C_2x2, self.D_2x3)

        new_s = np.array([[1, 2, 5]])

        delta_estimate = crkr.delta_estimate(new_s)

        assert_equal(delta_estimate.shape, (1, self.S_2x3.shape[1]))
Exemple #2
0
    def test_delta_estimate(self):
        """Test if a 2-dimensional numpy array is returned.
        """
        crkr = CrKr(self.S_2x3, self.C_2x2, self.D_2x3)

        new_s = np.array([[1, 2, 5]])

        delta_estimate = crkr.delta_estimate(new_s)

        assert_equal(delta_estimate.shape, (1, self.S_2x3.shape[1]))