Пример #1
0
        public void ToStringExample()
        {
            var vector1 = new VectorN(2);
            var actual = vector1.ToString();

            Assert.AreEqual("{0,0}", actual);
            vector1[0] = 1;
            vector1[1] = 2;

            actual = vector1.ToString();
            Assert.AreEqual("{1,2}", actual);
        }