Changeset 35240 in osm for applications/editors/josm/plugins/indoorhelper/test/unit/model
- Timestamp:
- 2019-11-30T18:25:05+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/test/unit/model/IndoorLevelTest.java
r34309 r35240 17 17 @Test 18 18 public void testIsPartOfWorkingLevel() { 19 assertTrue(IndoorLevel.isPartOfWorkingLevel("-3--1", -3)); 20 assertTrue(IndoorLevel.isPartOfWorkingLevel("-3--1", -2)); 21 assertTrue(IndoorLevel.isPartOfWorkingLevel("-3--1", -1)); 22 assertFalse(IndoorLevel.isPartOfWorkingLevel("-3--1", 0)); 23 24 assertTrue(IndoorLevel.isPartOfWorkingLevel("-1;0;1", -1)); 25 assertTrue(IndoorLevel.isPartOfWorkingLevel("-1;0;1", 0)); 26 assertTrue(IndoorLevel.isPartOfWorkingLevel("-1;0;1", 1)); 27 19 28 assertFalse(IndoorLevel.isPartOfWorkingLevel("1;2", 0)); 20 29 assertTrue(IndoorLevel.isPartOfWorkingLevel("1;2", 1));
Note:
See TracChangeset
for help on using the changeset viewer.