Sha256: 41282d78c54b3ce33ca34d3c7969366350a41763c64db0a74e0f83fc9c2ac03b

Contents?: true

Size: 444 Bytes

Versions: 12

Compression:

Stored size: 444 Bytes

Contents

using System;
using Generators.Input;

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trackler-2.2.1.27 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.26 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.25 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.24 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.23 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.22 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.21 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.20 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.19 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.18 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.17 tracks/csharp/generators/Exercises/Hamming.cs
trackler-2.2.1.16 tracks/csharp/generators/Exercises/Hamming.cs