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