Sha256: 7f0f4de6b2413c4e9f77642be8467af72f9bf1906e045c14166a9aab1d114538
Contents?: true
Size: 804 Bytes
Versions: 7
Compression:
Stored size: 804 Bytes
Contents
using System.Collections.Generic; using Generators.Input; namespace Generators.Exercises { public class RailFenceCipher : Exercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.ConstructorInput = new Dictionary<string, object> { ["rails"] = canonicalDataCase.Properties["rails"] }; canonicalDataCase.Input.Remove("rails"); canonicalDataCase.TestedMethodType = TestedMethodType.Instance; canonicalDataCase.UseVariablesForInput = true; canonicalDataCase.UseVariableForExpected = true; } } } }
Version data entries
7 entries across 7 versions & 1 rubygems