Sha256: 71fc7d1ef379fd0c89cc65d5615db5cf5e0e688380404bee9d0e632da2dcbec7
Contents?: true
Size: 608 Bytes
Versions: 12
Compression:
Stored size: 608 Bytes
Contents
using System.Collections.Generic; using Generators.Input; namespace Generators.Exercises { public class BookStore : Exercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.Input = new Dictionary<string, object> { ["input"] = canonicalDataCase.Input["basket"].ConvertToEnumerable<int>() }; canonicalDataCase.UseVariablesForInput = true; } } } }
Version data entries
12 entries across 12 versions & 1 rubygems