#! /usr/bin/env python # def rot13_test ( ): #*****************************************************************************80 # ## ROT13_TEST tests the ROT13 library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 30 January 2016 # # Author: # # John Burkardt # import platform print ( '' ) print ( 'ROT13_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the ROT13 library.' ) from ch_to_rot13 import ch_to_rot13_test from s_quote import s_quote_test from s_to_rot13 import s_to_rot13_test ch_to_rot13_test ( ) s_quote_test ( ) s_to_rot13_test ( ) # # Terminate. # print ( '' ) print ( 'ROT13_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) rot13_test ( ) timestamp ( )