示例#1
0
 def test_numericalize_2(self):
     mf = MatchingField()
     arr = [['a'], ['b'], ['c']]
     mf.numericalize(arr)
示例#2
0
 def test_numericalize_1(self):
     mf = MatchingField(id=True)
     arr = [[1], [2], [3]]
     mf.numericalize(arr)
     self.assertEqual(arr, [[1], [2], [3]])