def test_decode_RETURN_CLASS(self):
     assert isinstance(SerializeTypeCase.decode(SerializeTypeCase.encode(self.c)), SerializeAbleClass)
 def test_decode_RETURN_STR(self):
     assert SerializeTypeCase.decode(SerializeTypeCase.encode(self.s)) == self.s
 def test_decode_RETURN_NONE(self):
     assert SerializeTypeCase.decode(None) == None
예제 #4
0
 def test_decode_RETURN_CLASS(self):
     assert isinstance(SerializeTypeCase.decode(SerializeTypeCase.encode(self.c)), SerializeAbleClass)
예제 #5
0
 def test_decode_RETURN_STR(self):
     assert SerializeTypeCase.decode(SerializeTypeCase.encode(self.s)) == self.s
예제 #6
0
 def test_decode_RETURN_NONE(self):
     assert SerializeTypeCase.decode(None) == None