public void CreateTest5()
 {
     PointGenetics target = PointGenetics.Instance;
     var           width  = 1;
     var           height = 0;
     var           actual = target.Create(width, height);
 }
        public void CreateTest1()
        {
            PointGenetics target   = PointGenetics.Instance;
            var           width    = 1;
            var           height   = 1;
            var           expected = new Point(0, 0);
            var           actual   = target.Create(width, height);

            Assert.AreEqual(expected, actual);
        }
        public void CreateTest3()
        {
            PointGenetics target = PointGenetics.Instance;
            var           width  = int.MaxValue;
            var           height = int.MaxValue;
            var           first  = target.Create(width, height);
            var           second = target.Create(width, height);

            Assert.AreNotEqual(first, second);
        }
        public void CreateTest2()
        {
            PointGenetics target = PointGenetics.Instance;
            var           width  = 2;
            var           height = 3;
            var           actual = target.Create(width, height);

            Assert.IsTrue(actual.X < width);
            Assert.IsTrue(actual.Y < height);
        }