// This test tests all the methods in the C# collection wrapper using System; using cpp11_std_arrayNamespace; public class cpp11_std_array_runme { private static ArrayInt6 ToArray6(int[] a) { if (a.Length != 6) throw new Exception("a is incorrect size"); return new ArrayInt6(a); } private static void compareContainers(ArrayInt6 actual, int[] expected) { if (actual.Count != expected.Length) throw new Exception("Sizes are different: " + actual.Count + " " + expected.Length); for (int i=0; i