mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-13 02:17:55 +01:00
fix nomenclature test name
This commit is contained in:
parent
7ee42468bd
commit
014d9334b3
@ -9,7 +9,7 @@ import org.testng.annotations.Test;
|
|||||||
public class VersionComparisonTest {
|
public class VersionComparisonTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testVersionComparison() throws ImporterException {
|
public void compareVersionTest() throws ImporterException {
|
||||||
|
|
||||||
final VersionNumber greatest = new VersionNumber("1.0.1");
|
final VersionNumber greatest = new VersionNumber("1.0.1");
|
||||||
final VersionNumber smaller = new VersionNumber("0.9.0");
|
final VersionNumber smaller = new VersionNumber("0.9.0");
|
||||||
@ -17,8 +17,10 @@ public class VersionComparisonTest {
|
|||||||
|
|
||||||
Assert.assertTrue(smaller.isSmallerThan(intermediate));
|
Assert.assertTrue(smaller.isSmallerThan(intermediate));
|
||||||
Assert.assertFalse(greatest.isSmallerThan(intermediate));
|
Assert.assertFalse(greatest.isSmallerThan(intermediate));
|
||||||
|
|
||||||
Assert.assertTrue(greatest.isGreaterThan(smaller));
|
Assert.assertTrue(greatest.isGreaterThan(smaller));
|
||||||
Assert.assertFalse(intermediate.isGreaterThan(greatest));
|
Assert.assertFalse(intermediate.isGreaterThan(greatest));
|
||||||
|
|
||||||
Assert.assertTrue(intermediate.equals(intermediate));
|
Assert.assertTrue(intermediate.equals(intermediate));
|
||||||
Assert.assertFalse(greatest.equals(smaller));
|
Assert.assertFalse(greatest.equals(smaller));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user