@@ -0,0 +1,1275 @@
+/*%0A * Copyright 2006-2021 The MZmine Development Team%0A *%0A * This file is part of MZmine.%0A *%0A * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU%0A * General Public License as published by the Free Software Foundation; either version 2 of the%0A * License, or (at your option) any later version.%0A *%0A * MZmine is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even%0A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU%0A * General Public License for more details.%0A *%0A * You should have received a copy of the GNU General Public License along with MZmine; if not,%0A * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.%0A *%0A */%0A%0Aimport java.lang.Runtime.Version;%0Aimport org.junit.jupiter.api.Assertions;%0Aimport org.junit.jupiter.api.Test;%0A%0A/**%0A * @author Robin Schmid (https://github.com/robinschmid)%0A */%0Apublic class VersionTest %7B%0A%0A  @Test%0A  public void testVersion() %7B%0A    final Version v1 = Version.parse(%223.0b1%22);%0A    final Version v2 = Version.parse(%223.0b2%22);%0A    Assertions.assertTrue(v1.compareTo(v2) %3C 0);%0A    final Version v11 = Version.parse(%223.0b11%22);%0A    Assertions.assertTrue(v11.compareTo(v2) %3E 0);%0A  %7D%0A%7D%0A

Test for version parsing