@Test
public void testNameSequence() {

	Map<Integer,String> expecteds = new HashMap<>();
	expecteds.put(0, "A");
	expecteds.put(25, "Z");
	expecteds.put(26, "AA");
	expecteds.put(51, "ZA");
	expecteds.put(52, "AB");
	expecteds.put(77, "ZB");
	// very last name in sequence
	expecteds.put(VariableNameGenerator.LENGTH-1, "Z9");
	
	int lastCheck = expecteds.keySet().stream().max(Integer::compare).get();
	
	VariableNameGenerator gen = new VariableNameGenerator();
	for (int i = 0; i <= lastCheck; i++) {
		String varName = gen.get().orElseThrow(() -> new RuntimeException("Ran out of variable names too early!"));
		if (expecteds.containsKey(i)) {
			assertEquals(expecteds.get(i), varName);
		}
	}
}