Sha256: 120a40e7af6aeb0037f62e9d22a3d3834e255d3564f90007d6764bd89e77de7d

Contents?: true

Size: 637 Bytes

Versions: 83

Compression:

Stored size: 637 Bytes

Contents

using System;
using System.Collections.Generic;
using Generators.Input;

namespace Generators.Exercises
{
    public class AllYourBase : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is Dictionary<string, object> ? typeof(ArgumentException) : null;
                canonicalDataCase.UseVariablesForInput = true;
                canonicalDataCase.UseVariableForExpected = true;
            }
        }
    }
}

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
trackler-2.2.1.131 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.130 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.129 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.128 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.127 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.126 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.125 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.124 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.123 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.122 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.121 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.120 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.119 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.118 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.117 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.116 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.115 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.114 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.113 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.111 tracks/csharp/generators/Exercises/AllYourBase.cs