Sha256: df637326edd092309e6fc2870c1f06e5dab238a0d5991046ca719f1fab70d895

Contents?: true

Size: 567 Bytes

Versions: 69

Compression:

Stored size: 567 Bytes

Contents

using Generators.Methods;

namespace Generators.Exercises
{
    public abstract class EqualityExercise : Exercise
    {
        protected EqualityExercise(string name) : base(name)
        {
        }

        protected override TestMethod CreateTestMethod(TestMethodData testMethodData)
        {
            if (testMethodData.Options.ThrowExceptionWhenExpectedValueEquals(testMethodData.CanonicalDataCase.Expected))
                return CreateExceptionTestMethod(testMethodData);

            return CreateEqualityTestMethod(testMethodData);
        }
    }
}

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.1.0.48 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.47 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.46 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.45 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.44 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.43 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.42 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.41 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.40 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.39 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.38 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.37 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.36 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.34 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.33 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.32 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.31 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.30 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.29 tracks/csharp/generators/Exercises/EqualityExercise.cs
trackler-2.1.0.28 tracks/csharp/generators/Exercises/EqualityExercise.cs