@Test
	public void testCalcNextInv_normal_and_reverse() {
		for(int max = 2; max < 30; max++){
			int current = 1;
			for(int i = 0; i <= max*2; i++){
				current = im.calcNextInventoryIndex(max, current, true);
			}
			for(int i = 0; i <= max*2; i++){
				current = im.calcNextInventoryIndex(max, current, false);
			}
			assertEquals("current inv index must be 1", 1, current);
		}
	}