Sha256: d2fb781188b59c9b18e695934667dff61710aea72f0865998f0f74a2686bb767
Contents?: true
Size: 752 Bytes
Versions: 28
Compression:
Stored size: 752 Bytes
Contents
using System; using System.Collections.Generic; using Generators.Input; namespace Generators.Exercises { public class AllYourBase : GeneratorExercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.Input["digits"] = ConvertHelper.ToArray<int>(canonicalDataCase.Input["digits"]); canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is Dictionary<string, object> ? typeof(ArgumentException) : null; canonicalDataCase.UseVariablesForInput = true; canonicalDataCase.UseVariableForExpected = true; } } } }
Version data entries
28 entries across 28 versions & 1 rubygems