Ejemplo n.º 1
0
        public void AssignmentValue1()
        {
            int[] matches = new int[6];
            AE.Fill(matches, i => i);

            Assert.AreEqual(6, GC.AssignmentValue(threecomp, matches));
        }
Ejemplo n.º 2
0
        public void AssignmentValue2()
        {
            int[] matches = new int[6];

            matches[0] = 1;
            matches[1] = 0;
            matches[2] = 4;
            matches[3] = 0;
            matches[4] = 4;
            matches[5] = 5;

            threecomp[1, 0] = 100;

            Assert.AreEqual(103, GC.AssignmentValue(threecomp, matches));
        }