Skip to content

JoanBency/CompareVersions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CompareVersions

A utility which compares the two version numbers, version1 and version2

If version1 > version2 return 1

If version1 < version2 return -1

otherwise, return 0

For example,

0.1 < 1.1 < 1.2 < 1.2.9.9.9.9 < 1.3 < 1.3.4 < 1.10

Added an executable file and unit test file

To execute the unit test file :


python CompareVersions_test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages