blob: 8a138ef0ec8ca906d3ef6c0fdc42299874b066e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package cgeo.geocaching.list;
import junit.framework.TestCase;
public class PseudoListTest extends TestCase {
public static void testGetTitleAndCount() throws Exception {
final String title = PseudoList.ALL_LIST.getTitleAndCount();
for (int i = 0; i < title.length(); i++) {
assertFalse("pseudo lists shall not have a number shown in their title", Character.isDigit(title.charAt(i)));
}
}
public static void testIsConcrete() throws Exception {
assertFalse("pseudo lists are not concrete lists", PseudoList.ALL_LIST.isConcrete());
}
}
|