Sha256: d48b150f507b990c958d7e10267055a2f0ebaf21e80c6799a0d6ba25011a0317
Contents?: true
Size: 510 Bytes
Versions: 49
Compression:
Stored size: 510 Bytes
Contents
using System; using Generators.Input; namespace Generators.Exercises { public class PhoneNumber : Exercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.UseVariablesForInput = true; canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is null ? typeof(ArgumentException) : null; } } } }
Version data entries
49 entries across 49 versions & 1 rubygems