@@ -0,0 +1,1264 @@
+package com.scavi.brainsqueeze.adventofcode.y2017;%0A%0Aimport com.scavi.brainsqueeze.util.FileHelper;%0Aimport org.junit.Test;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Apublic class Day16PermutationPromenadeTest %7B%0A    @Test%0A    public void test1() throws CloneNotSupportedException %7B%0A        String order = new Day16PermutationPromenade().solveA(%22s1,x3/4,pe/b%22, %22abcde%22);%0A        assertThat(order).isEqualTo(%22baedc%22);%0A    %7D%0A%0A%0A    @Test%0A    public void testQuestionA() throws IOException, CloneNotSupportedException %7B%0A        File inputFile = FileHelper.forUnitTests(%22adventofcode/y2017/Day16.txt%22);%0A        String%5B%5D input = FileHelper.readLines(inputFile);%0A        String order = new Day16PermutationPromenade().solveA(input%5B0%5D, %22abcdefghijklmnop%22);%0A        assertThat(order).isEqualTo(%22glnacbhedpfjkiom%22);%0A    %7D%0A%0A    @Test%0A    public void testQuestionB() throws IOException, CloneNotSupportedException %7B%0A        File inputFile = FileHelper.forUnitTests(%22adventofcode/y2017/Day16.txt%22);%0A        String%5B%5D input = FileHelper.readLines(inputFile);%0A        String order = new Day16PermutationPromenade().solveB(input%5B0%5D, %22abcdefghijklmnop%22);%0A        assertThat(order).isEqualTo(%22fmpanloehgkdcbji%22);%0A    %7D%0A%7D%0A

solved day 16