Exemplo n.º 1
0
 def test_list_empty_1(self):
     self.assertEqual(utils.uniq([]), [])
Exemplo n.º 2
0
 def test_array_2(self):
     self.assertEqual(utils.uniq(np.array([2, 1, 3, 2, 1, 3])), [1, 2, 3])
Exemplo n.º 3
0
 def test_list_2(self):
     self.assertEqual(utils.uniq([2, 1, 3, 2, 1, 3]), [1, 2, 3])
Exemplo n.º 4
0
 def test_array_1(self):
     self.assertEqual(utils.uniq(np.array([1, 1, 2, 2])), [1, 2])
Exemplo n.º 5
0
 def test_list_1(self):
     self.assertEqual(utils.uniq([1, 1, 2, 2]), [1, 2])