Esempio n. 1
0
        public void t_Boundaries()
        {
            Site_Accessor      target   = new Site_Accessor();
            Queue <Coordinate> expected = new Queue <Coordinate>();

            expected.Enqueue(new Coordinate());

            Queue <Coordinate> actual;

            target.Boundaries = expected;
            actual            = target.Boundaries;
            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void t_SamplingPoints()
        {
            Site_Accessor        target   = new Site_Accessor();
            List <SamplingPoint> expected = new List <SamplingPoint>()
            {
                new SamplingPoint()
                {
                    Name = "sample"
                }
            };

            List <SamplingPoint> actual;

            target.SamplingPoints = expected;
            actual = target.SamplingPoints;
            Assert.AreEqual(expected, actual);
        }