<s> '''<STR_LIT>''' <EOL> from python_toolbox . version_info import VersionInfo <EOL> def test ( ) : <EOL> '''<STR_LIT>''' <EOL> version_info_0 = VersionInfo ( <NUM_LIT:1> , <NUM_LIT:7> , <NUM_LIT:8> ) <EOL> version_info_1 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:3> ) <EOL> version_info_2 = VersionInfo ( major = <NUM_LIT> ) <EOL> assert version_info_0 < version_info_1 < version_info_2 <EOL> assert version_info_0 <= version_info_1 <= version_info_2 <EOL> assert version_info_0 . major == <NUM_LIT:1> <EOL> assert version_info_0 . minor == version_info_1 . minor == <NUM_LIT:7> <EOL> assert version_info_0 . modifier == version_info_1 . modifier == version_info_2 . modifier == '<STR_LIT>' <EOL> version_info_4 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:8> ) <EOL> version_info_5 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:8> , '<STR_LIT>' ) <EOL> version_info_6 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:8> , '<STR_LIT>' ) <EOL> version_info_7 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:8> , '<STR_LIT>' ) <EOL> version_info_8 = VersionInfo ( <NUM_LIT:9> , <NUM_LIT:7> , <NUM_LIT:8> , '<STR_LIT>' ) <EOL> assert version_info_4 == version_info_8 <EOL> assert sorted ( ( version_info_5 , version_info_6 , version_info_7 , <EOL> version_info_8 ) ) == [ version_info_5 , version_info_6 , version_info_7 , version_info_8 ] <EOL> def test_version_text ( ) : <EOL> assert VersionInfo ( <NUM_LIT:1> , <NUM_LIT:5> , <NUM_LIT:3> ) . version_text == '<STR_LIT>' <EOL> assert VersionInfo ( <NUM_LIT:1> , <NUM_LIT:0> , <NUM_LIT:3> ) . version_text == '<STR_LIT>' <EOL> assert VersionInfo ( <NUM_LIT:1> , <NUM_LIT:0> ) . version_text == '<STR_LIT>' <EOL> assert VersionInfo ( <NUM_LIT:1> ) . version_text == '<STR_LIT>' <EOL> assert VersionInfo ( <NUM_LIT:1> , <NUM_LIT:0> , modifier = '<STR_LIT>' ) . version_text == '<STR_LIT>' <EOL> assert VersionInfo ( <NUM_LIT:4> , modifier = '<STR_LIT>' ) . version_text == '<STR_LIT>' </s>
