Sha256: a6b1829465511842ecdb6c71994eb0601a9642b2918358a6ec1fe072a7fc6c9e

Contents?: true

Size: 425 Bytes

Versions: 86

Compression:

Stored size: 425 Bytes

Contents

using System;
using Generators.Input;

namespace Generators.Exercises
{
    public class Hamming : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
                canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is long ? null : typeof(ArgumentException);
        }
    }
}

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
trackler-2.2.1.151 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.150 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.149 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.148 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.147 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.146 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.145 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.144 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.143 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.142 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.141 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.140 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.139 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.138 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.137 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.136 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.135 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.134 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.133 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.132 tracks/csharp/generators/Exercises/Hamming.cs