Sha256: 10726ca19c1fb39e6301d0b33c8c1be51080cca0cf92b8fe325f742b715945cb

Contents?: true

Size: 652 Bytes

Versions: 13

Compression:

Stored size: 652 Bytes

Contents

using Generators.Input;

namespace Generators.Exercises
{
    public class Poker : Exercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.UseVariableForExpected = true;
                canonicalDataCase.UseVariableForTested = true;

                canonicalDataCase.Expected = canonicalDataCase.Expected.ConvertToEnumerable<string>();
                canonicalDataCase.Input["input"] = canonicalDataCase.Input["input"].ConvertToEnumerable<string>();
            }
        }
    }
}

Version data entries

13 entries across 13 versions & 1 rubygems

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