Пример #1
0
        public void Max()
        {
            Vector4F v1  = new Vector4F(1.0f, 2.0f, 3.0f, 4.0f);
            Vector4F v2  = new Vector4F(-1.0f, 2.1f, 3.0f, 8.0f);
            Vector4F max = Vector4F.Max(v1, v2);

            Assert.AreEqual(new Vector4F(1.0f, 2.1f, 3.0f, 8.0f), max);
        }