Sha256: 427fc1d152b4e014d1ac0c788ff38f820d28dfd5170e2110f9f86e434f78679c
Contents?: true
Size: 719 Bytes
Versions: 69
Compression:
Stored size: 719 Bytes
Contents
using System; using Generators.Data; using Generators.Methods; namespace Generators.Exercises { public class NthPrimeExercise : EqualityExercise { public NthPrimeExercise() : base("nth-prime") { } protected override TestMethodOptions CreateTestMethodOptions(CanonicalData canonicalData, CanonicalDataCase canonicalDataCase, int index) { var testMethodOptions = base.CreateTestMethodOptions(canonicalData, canonicalDataCase, index); testMethodOptions.ExceptionType = typeof(ArgumentOutOfRangeException); testMethodOptions.ThrowExceptionWhenExpectedValueEquals = x => x is bool; return testMethodOptions; } } }
Version data entries
69 entries across 69 versions & 1 rubygems