public void CheckSetFirstSecond()
        {
            var fx = this.NextRandom(1, 100);
            var fy = this.NextRandom(1, 100);
            var sx = this.NextRandom(1, 100);
            var sy = this.NextRandom(1, 100);

            var first  = new Point(fx, fy);
            var second = new Point(sx, sy);

            var pair = new PairOfPointPoint(null, null);

            pair.First  = first;
            pair.Second = second;

            Assert.AreEqual(pair.First.X, fx);
            Assert.AreEqual(pair.First.Y, fy);
            Assert.AreEqual(pair.Second.X, sx);
            Assert.AreEqual(pair.Second.Y, sy);
            Assert.AreEqual(pair.First, first);
            Assert.AreEqual(pair.Second, second);

            this.DisposeAndCheckDisposedState(pair);
            this.DisposeAndCheckDisposedState(second);
            this.DisposeAndCheckDisposedState(first);
        }
        public void Create()
        {
            var first  = new Point();
            var second = new Point();
            var pair   = new PairOfPointPoint(first, second);

            this.DisposeAndCheckDisposedState(pair);
            this.DisposeAndCheckDisposedState(second);
            this.DisposeAndCheckDisposedState(first);
        }