Beispiel #1
0
    def test_repeat_vestors_vertically(self):

        est_results = np.array([[1, 2], [1, 2]])

        repeated = ci.repmat(self.input, self.repetition, 1)

        assert_array_equal(repeated, est_results)
    def test_repeat_vestors_vertically(self):

        est_results = np.array([[1, 2], [1, 2]])

        repeated = ci.repmat(self.input, self.repetition, 1)

        assert_array_equal(repeated, est_results)
Beispiel #3
0
    def test_repeat_vestors_horizontally(self):

        est_results = np.array([[1, 2, 1, 2]])

        repeated = ci.repmat(self.input, 1, self.repetition)

        assert_array_equal(repeated, est_results)
    def test_repeat_vestors_horizontally(self):

        est_results = np.array([[1, 2, 1, 2]])

        repeated = ci.repmat(self.input, 1, self.repetition)

        assert_array_equal(repeated, est_results)