Esempio n. 1
0
        public void HashOfHull3d_DefaultConstructorCreatesInvalidHull3d()
        {
            var a = new Hull3d();
            var b = Hull3d.Invalid;

            Assert.IsTrue(a.ComputeMd5Hash() == b.ComputeMd5Hash());
        }
Esempio n. 2
0
        public void HashOfHull3d_Invalid_NotEquals_Empty()
        {
            var a = Hull3d.Invalid;
            var b = new Hull3d(new Plane3d[0]);

            Assert.IsTrue(a.ComputeMd5Hash() != b.ComputeMd5Hash());
        }
Esempio n. 3
0
        public void HashOfHull3d_Empty_Equals_Empty()
        {
            var a = new Hull3d(new Plane3d[0]);
            var b = new Hull3d(new Plane3d[0]);

            Assert.IsTrue(a.ComputeMd5Hash() == b.ComputeMd5Hash());
        }