Example #1
0
        public void testNashValue()
        {
            var kataAsp         = new kataAsp._Default();
            var nashValueResult = kataAsp.NashValue();

            bool[] nashValue = new bool[2] {
                true, true
            };

            Assert.IsTrue(Enumerable.SequenceEqual(nashValue, nashValueResult));
        }
Example #2
0
        public void testMatrix()
        {
            var kataAsp      = new kataAsp._Default();
            var matrixResult = kataAsp.Matrix();

            var matrix = new List <String>();

            matrix.Add("1/1");
            matrix.Add("10/0");
            matrix.Add("0/10");
            matrix.Add("5/5");

            Assert.IsTrue(Enumerable.SequenceEqual(matrix, matrixResult));
        }