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.151 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.150 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.149 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.148 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.147 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.146 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.145 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.144 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.143 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.142 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.141 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.140 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.139 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.138 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.137 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.136 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.135 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.134 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.133 tracks/csharp/generators/Exercises/Transpose.cs
trackler-2.2.1.132 tracks/csharp/generators/Exercises/Transpose.cs