Changeset View
Changeset View
Standalone View
Standalone View
src/test/java/it/reyboz/bustorino/util/LinesNameSorterTest.java
- This file was added.
package it.reyboz.bustorino.util; | |||||
import org.junit.Test; | |||||
import static org.junit.Assert.*; | |||||
public class LinesNameSorterTest { | |||||
@Test | |||||
public void compare() { | |||||
final LinesNameSorter sorter = new LinesNameSorter(); | |||||
assertTrue(sorter.compare("13N","130") < 0); | |||||
} | |||||
@Test | |||||
public void lineeStrane() { | |||||
final LinesNameSorter sorter = new LinesNameSorter(); | |||||
assertTrue(sorter.compare("3 "," 8") < 0); | |||||
} | |||||
} | |||||
No newline at end of file |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register