#NEWLINE# def test_decoding( self ) : #NEWLINE# #INDENT# su = ShortUUID ( ) #NEWLINE# random_uid = uuid4 ( ) #NEWLINE# smallest_uid = UUID ( int = 0 ) #NEWLINE# encoded_random = su . encode ( random_uid ) #NEWLINE# encoded_small = su . encode ( smallest_uid ) #NEWLINE# self . assertEqual ( su . decode ( encoded_random ) , smallest_uid ) #NEWLINE# self . assertEqual ( su . decode ( encoded_random ) , random_uid )