tracks/csharp/generators/Exercises/Dominoes.cs in trackler-2.2.1.151 vs tracks/csharp/generators/Exercises/Dominoes.cs in trackler-2.2.1.152
- old
+ new
@@ -12,13 +12,13 @@
protected override void UpdateCanonicalData(CanonicalData canonicalData)
{
foreach (var canonicalDataCase in canonicalData.Cases)
{
canonicalDataCase.UseVariablesForInput = true;
- canonicalDataCase.Properties["input"] = ConvertInput(canonicalDataCase.Properties["input"]);
+ canonicalDataCase.Input["dominoes"] = ConvertInput(canonicalDataCase.Input["dominoes"]);
}
}
-
+
protected override HashSet<string> AddAdditionalNamespaces() => new HashSet<string>() { typeof(Tuple).Namespace };
private UnescapedValue ConvertInput(dynamic input)
{
var dominoes = (input as JArray).Children();