Sha256: 60d86454d6b1cb0ae10321e609c18bd212dd89171ba0cdbb0878794c32fecc6c
Contents?: true
Size: 699 Bytes
Versions: 12
Compression:
Stored size: 699 Bytes
Contents
using System; using Generators.Input; namespace Generators.Exercises { public class AllYourBase : Exercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.Input["input_digits"] = canonicalDataCase.Input["input_digits"].ConvertToEnumerable<int>(); canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is null ? typeof(ArgumentException) : null; canonicalDataCase.UseVariablesForInput = true; canonicalDataCase.UseVariableForExpected = true; } } } }
Version data entries
12 entries across 12 versions & 1 rubygems