@@ -0,0 +1,798 @@
+package fr.liglab.lcm.tests;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.Arrays;%0A%0Aimport org.junit.Test;%0A%0Aimport fr.liglab.lcm.internals.nomaps.Counters;%0Aimport fr.liglab.lcm.internals.nomaps.Dataset.TransactionsIterable;%0Aimport fr.liglab.lcm.internals.nomaps.ExplorationStep;%0A%0Apublic class CompactionTest %7B%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09%0A%09%09ExplorationStep init = new ExplorationStep(2, FileReaderTest.PATH_MICRO);%0A%09%09%0A%09%09TransactionsIterable support = init.dataset.getSupport(1);%0A%09%09Counters candidateCounts = new Counters(2, support.iterator(), %0A%09%09%09%091, null, 5);%0A%09%09System.out.println(Arrays.toString(init.counters.getReverseRenaming()));%0A%09%09int%5B%5D renaming = candidateCounts.compressRenaming(init.counters.getReverseRenaming());%0A%09%09%0A%09%09System.out.println(Arrays.toString(renaming));%0A%09%09%0A%09%7D%0A%0A%7D%0A

add a small test