private ICodeGenerator CreateSUT() { var distanceCalculator = new HammingDistanceCalculator(); var variationsGenerator = new VariationsGenerator(); return(new CodeGenerator(variationsGenerator, distanceCalculator)); }
static void Main() { string[] elements = { "hi", "a", "b" }; var variations = VariationsGenerator <string> .GenerateVariations(elements, 2); PrintVars(variations); }