@Test public void verifyAperiodicTemplates() throws Exception { final String[] templates = RandomnessUtils.aperiodicTemplates(length); Arrays.sort(templates); Arrays.sort(expectedAperiodicBits); assertArrayEquals(expectedAperiodicBits, templates); }