final VersionConstraint constraint = new VersionConstraint( " 1.2.3, 3.4 , [ 5.2 - 6.0) , [ 8.3 " );
assertFalse( constraint.check( new Version( "1.2" ) ) );
assertFalse( constraint.check( new Version( "1.2.1" ) ) );
assertTrue( constraint.check( new Version( "1.2.3" ) ) );
assertFalse( constraint.check( new Version( "1.2.4" ) ) );
assertFalse( constraint.check( new Version( "3.3" ) ) );
assertTrue( constraint.check( new Version( "3.4" ) ) );
assertFalse( constraint.check( new Version( "3.4.1" ) ) );
assertFalse( constraint.check( new Version( "3.5" ) ) );
assertFalse( constraint.check( new Version( "5.0" ) ) );