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