Beispiel #1
0
        public void NotEqual3()
        {
            var pose1 = new HeadPose(40, 20, 9);
            var pose2 = new HeadPose(40, 20, 0);

            Assert.NotEqual(pose1, pose2);
            Assert.True(pose1 != pose2);
            Assert.True(!pose1.Equals(pose2));
            Assert.False(pose1 == pose2);
        }
Beispiel #2
0
        public void Equal()
        {
            var pose1 = new HeadPose(10, 20, 9);
            var pose2 = new HeadPose(10, 20, 9);

            Assert.Equal(pose1, pose2);
            Assert.True(pose1 == pose2);
            Assert.True(pose1.Equals(pose2));
            Assert.False(pose1 != pose2);
        }
Beispiel #3
0
 public bool Equals(Record other)
 {
     return(Gaze.Equals(other.Gaze) && HeadPose.Equals(other.HeadPose) && Display.Equals(other.Display));
 }