Exemple #1
0
        public void TestGetHashCode()
        {
            //vector.GetHashCode TEST
            double[] TV     = { 2.0, 3.0, 4.0 }; //TesVar (for actual vec)
            vector   vec    = new vector(TV);
            int      actual = vec.GetHashCode();

            int expected = 4;

            Assert.AreEqual(expected, actual);
        }