예제 #1
0
 def test0105(_):
     _.assert_(isEqual(serialize.obj2struc((3, )), ['list', (3.)]))
예제 #2
0
 def test0106(_):
     _.assert_(
         isEqual(serialize.obj2struc(('abc', 7)), ['list', ('abc', 7)]))
예제 #3
0
 def test0103(_):
     _.assert_(
         isEqual(serialize.obj2struc(['abc', 7]), ['list', ['abc', 7]]))
예제 #4
0
 def test0104(_):
     _.assert_(isEqual(serialize.obj2struc(()), ['list', []]))
예제 #5
0
 def test0009(_):
     _.assert_(isEqual(serialize.obj2struc(False), False))
예제 #6
0
 def test0102(_):
     _.assert_(isEqual(serialize.obj2struc([3]), ['list', [3]]))
예제 #7
0
 def test0007(_):
     _.assert_(isEqual(serialize.obj2struc(1.1428), 1.1428))
예제 #8
0
 def test0008(_):
     _.assert_(isEqual(serialize.obj2struc(True), True))
예제 #9
0
 def test0006(_):
     _.assert_(
         isEqual(serialize.obj2struc('\u304a\u5143\u6c17\u3067'),
                 '\u304a\u5143\u6c17\u3067'))
예제 #10
0
 def test0005(_):
     _.assert_(isEqual(serialize.obj2struc('abc'), 'abc'))
예제 #11
0
 def test0003(_):
     _.assert_(isEqual(serialize.obj2struc(2000000000000), 2000000000000))
예제 #12
0
 def test0002(_):
     _.assert_(isEqual(serialize.obj2struc(1), 1))
예제 #13
0
 def test0001(_):
     _.assert_(isEqual(serialize.obj2struc(None), None))