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.110 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.109 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.108 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.107 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.106 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.105 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.104 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.103 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.102 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.101 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.100 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.99 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.98 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.97 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.96 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.95 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.94 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.93 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.92 tracks/csharp/generators/Exercises/AllYourBase.cs
trackler-2.2.1.91 tracks/csharp/generators/Exercises/AllYourBase.cs