fix nomenclature test name

This commit is contained in:
Claudio Barril 2014-09-07 23:15:48 -03:00
parent eadea5e442
commit 0447cb995f

View File

@ -9,7 +9,7 @@ import org.testng.annotations.Test;
public class VersionComparisonTest {
@Test
public void testVersionComparison() throws ImporterException {
public void compareVersionTest() throws ImporterException {
final VersionNumber greatest = new VersionNumber("1.0.1");
final VersionNumber smaller = new VersionNumber("0.9.0");
@ -17,8 +17,10 @@ public class VersionComparisonTest {
Assert.assertTrue(smaller.isSmallerThan(intermediate));
Assert.assertFalse(greatest.isSmallerThan(intermediate));
Assert.assertTrue(greatest.isGreaterThan(smaller));
Assert.assertFalse(intermediate.isGreaterThan(greatest));
Assert.assertTrue(intermediate.equals(intermediate));
Assert.assertFalse(greatest.equals(smaller));