#%Module
if {[versioncmp 4.6.0 4.6.0] != 0} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 4.6 4.6.0] != -1} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 4.6.0 4.6] != 1} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 2.2 2.10] != -1} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 2.0.1 2.0] != 1} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 2.0 2.0.a] != -1} {
    puts stderr {versioncmp command is inconsistent}
}
if {[versioncmp 2.0.b 2.0.a] != 1} {
    puts stderr {versioncmp command is inconsistent}
}
