Sha256: c9206962e623bfc063c0b6843f56237c9fc2c31160d9d3045d9b11410c1b247e

Contents?: true

Size: 820 Bytes

Versions: 12

Compression:

Stored size: 820 Bytes

Contents

using System.Collections.Generic;
using Generators.Input;

namespace Generators.Exercises
{
    public class Transpose : Exercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.Property = "String";
                canonicalDataCase.Input = new Dictionary<string, object>
                {
                    ["input"] = canonicalDataCase.Input["input"].ConvertMultiLineString()
                };
                canonicalDataCase.Expected = canonicalDataCase.Expected.ConvertMultiLineString();
                canonicalDataCase.UseVariablesForInput = true;
                canonicalDataCase.UseVariableForExpected = true;
            }
        }
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

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