Sha256: fdb56ba7ff91d32cbc3c3015650d787902cda06a941bec7f1c584bdac01427ce

Contents?: true

Size: 595 Bytes

Versions: 22

Compression:

Stored size: 595 Bytes

Contents

using System;
using Generators.Output;

namespace Generators.Exercises
{
    public class Wordy : Exercise
    {
        public Wordy()
        {
            foreach (var canonicalDataCase in CanonicalData.Cases)
                canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is bool ? typeof(ArgumentException) : null;
        }

        protected override TestClass CreateTestClass()
        {
            var testClass = base.CreateTestClass();
            testClass.UsingNamespaces.Add(typeof(ArgumentException).Namespace);

            return testClass;
        }
    }
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
trackler-2.1.0.55 tracks/csharp/generators/Exercises/Wordy.cs
trackler-2.1.0.54 tracks/csharp/generators/Exercises/Wordy.cs