예제 #1
0
        public void Vector_floats()
        {
            Vector thisVector = new Leap.Vector(1.111111111111111f, 2.222222222222222f, 3.333333333333333f);
            Vector thatVector = new Leap.Vector(1.111111111111111f, 2.222222222222222f, 3.333333333333333f);

            Assert.True(thisVector.Equals(thatVector), "this.Equals(that) Vector");
            //Assert.True (thisVector == thatVector, "this == that Vector");
        }
예제 #2
0
        public void Vector_ints()
        {
            Vector thisVector = new Leap.Vector(1, 2, 3);
            Vector thatVector = new Leap.Vector(1, 2, 3);

            Assert.True(thisVector.Equals(thatVector), "this.Equals(that) Vector");
            //Assert.True (thisVector == thatVector, "this == that Vector");
        }