Sha256: 647a00b3114f0dd72eb03c9e38039d4dd979998cc06389a2240714e6b21c12c5

Contents?: true

Size: 732 Bytes

Versions: 86

Compression:

Stored size: 732 Bytes

Contents

using Generators.Input;

namespace Generators.Exercises
{
    public class Transpose : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.Property = "String";
                canonicalDataCase.Properties["input"] = ConvertHelper.ToMultiLineString(canonicalDataCase.Properties["input"]);
                canonicalDataCase.Expected = ConvertHelper.ToMultiLineString(canonicalDataCase.Expected);

                canonicalDataCase.UseVariablesForInput = true;
                canonicalDataCase.UseVariableForExpected = true;
            }
        }
    }
}

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
trackler-2.2.1.110 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.109 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.108 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.107 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.106 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.105 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.104 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.103 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.102 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.101 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.100 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.99 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.98 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.97 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.96 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.95 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.94 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.93 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.92 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.91 tracks/csharp/generators/Exercises/Transpose.cs