Esempio n. 1
0
    def build_data(self):
        v = Vectors([[1, 2, 3], [1, 3, 1]])

        assert 2 == v.nb_vector
        assert 3 == v.nb_variable
        assert [1, 2] == v.get_identifiers()
        assert v
        return v
    def build_data(self):
        v = Vectors([[1, 2, 3], [1, 3, 1]])

        assert 2 == v.nb_vector
        assert 3 == v.nb_variable
        assert [1, 2] == v.get_identifiers()
        assert v
        return v
Esempio n. 3
0
 def test_identifiers(self):
     v = Vectors([[1, 2, 3], [4, 5, 6], [7, 8, 9]], Identifiers=[1, 2, 4])
     assert v.get_identifiers() == [1, 2, 4]
 def test_identifiers(self):
     v = Vectors([[1, 2, 3], [4, 5, 6], [7, 8, 9]], Identifiers=[1, 2, 4])
     assert v.get_identifiers() == [1, 2, 4]