Sha256: 7cfc76e2c0d3e747df2b33abab127d2eb6aba7c2d51c834e099611d1d120fb8d

Contents?: true

Size: 536 Bytes

Versions: 22

Compression:

Stored size: 536 Bytes

Contents

using Newtonsoft.Json.Linq;

namespace Generators.Exercises
{
    public class CryptoSquare : Exercise
    {
        public CryptoSquare()
        {
            foreach (var canonicalDataCase in CanonicalData.Cases)
            {
                canonicalDataCase.UseVariablesForInput = true;
                canonicalDataCase.UseVariableForExpected = true;

                if (canonicalDataCase.Expected is JArray expected)
                    canonicalDataCase.Expected = expected.Values<string>();
            }
        }
    }
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
trackler-2.1.0.55 tracks/csharp/generators/Exercises/CryptoSquare.cs
trackler-2.1.0.54 tracks/csharp/generators/Exercises/CryptoSquare.cs