Sha256: d87e7b57826e8078bcd8878d7a4a317bf49b7a5074c481d50bc45939747c9da8

Contents?: true

Size: 691 Bytes

Versions: 28

Compression:

Stored size: 691 Bytes

Contents

using Generators.Input;

namespace Generators.Exercises
{
    public class House : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.UseVariableForExpected = true;
                canonicalDataCase.Expected = ConvertHelper.ToMultiLineString(canonicalDataCase.Expected);

                if (canonicalDataCase.Input["startVerse"] == canonicalDataCase.Input["endVerse"])
                {
                    canonicalDataCase.SetInputParameters("startVerse");
                }
            }
        }
    }
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.179 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.178 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.177 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.176 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.175 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.174 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.173 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.172 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.171 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.170 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.169 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.167 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.166 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.165 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.164 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.163 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.162 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.161 tracks/csharp/generators/Exercises/House.cs
trackler-2.2.1.160 tracks/csharp/generators/Exercises/House.cs