Sha256: 1b391c724472f72aababf90f34cb1a19a8b4a6c74971b3178f75b4cf48525ddf
Contents?: true
Size: 555 Bytes
Versions: 22
Compression:
Stored size: 555 Bytes
Contents
using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace Generators.Exercises { public class BookStore : Exercise { public BookStore() { foreach (var canonicalDataCase in CanonicalData.Cases) { canonicalDataCase.Input = new Dictionary<string, object> { ["input"] = ((JArray)canonicalDataCase.Input["basket"]).Values<int>() }; canonicalDataCase.UseVariablesForInput = true; } } } }
Version data entries
22 entries across 22 versions & 1 rubygems