@@ -0,0 +1,1755 @@
+package com.rysh.happytesting;%0D%0A%0D%0Aimport static com.rysh.happytesting.MergerTest.*;%0D%0Aimport static org.hamcrest.CoreMatchers.*;%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0Aimport java.util.Arrays;%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport org.junit.contrib.theories.DataPoints;%0D%0Aimport org.junit.contrib.theories.Theories;%0D%0Aimport org.junit.contrib.theories.Theory;%0D%0Aimport org.junit.runner.RunWith;%0D%0A%0D%0A@RunWith(Theories.class)%0D%0Apublic class Paramaterized %7B%0D%0A%0D%0A    public static class Fixture %7B%0D%0A        private final String label;%0D%0A        private final int start;%0D%0A        private final int threshold;%0D%0A        private final int end;%0D%0A        private final List%3CInteger%3E includes;%0D%0A        private final List%3CInteger%3E excludes;%0D%0A%0D%0A        public Fixture(String label, int inputStart, int inputThreshold, int inputEnd, List%3CInteger%3E includes, List%3CInteger%3E excludes) %7B%0D%0A            this.label = label;%0D%0A            this.start = inputStart;%0D%0A            this.threshold = inputThreshold;%0D%0A            this.end = inputEnd;%0D%0A            this.includes = includes;%0D%0A            this.excludes = excludes;%0D%0A%0D%0A        %7D%0D%0A    %7D%0D%0A%0D%0A    @DataPoints%0D%0A    public static Fixture%5B%5D getParameters() %7B%0D%0A        return new Fixture%5B%5D %7B%0D%0A            new Fixture(%22A:1~30,B:31~40%22, 1, 30, 40, Arrays.asList(1, 20, 31, 40), Arrays.asList(21, 30)),%0D%0A            new Fixture(%22A:1~20,B:21~35%22, 1, 20, 30, Arrays.asList(1, 20, 30), Arrays.asList(31))%0D%0A        %7D;%0D%0A    %7D%0D%0A%0D%0A    @Theory%0D%0A    private void checkContainingOrNot(Fixture f) %7B%0D%0A        assertThat(f.label, resultAsIds(f.start, f.threshold, f.end), hasItems(f.includes.toArray(new Integer%5B0%5D)));%0D%0A        assertThat(f.label, resultAsIds(f.start, f.threshold, f.end), not(hasAnyOfItems(f.excludes.toArray(new Integer%5B0%5D))));%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

add Parameterized Test