Exemplo n.º 1
0
 /// <summary>
 /// Runs all rendering tests.
 /// </summary>
 public static void Test(Stream stream, CreateTarget createTarget, CreateRenderer createRenderer)
 {
     for (int zoom = 6; zoom < 17; zoom++)
     {
         // do some of the testing.
         RenderingSerializedSceneTests <TTarget> .TestRenderScene(createTarget, createRenderer, stream, new GeoCoordinateBox(
                                                                      new GeoCoordinate(51.20190, 4.66540),
                                                                      new GeoCoordinate(51.30720, 4.89820)), 3, 1, zoom);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Runs all rendering tests.
        /// </summary>
        public static void Test(Stream stream, CreateTarget createTarget, CreateRenderer createRenderer)
        {
            // do some of the testing.
            RenderingSerializedSceneTests <TTarget> .TestRenderScene(createTarget, createRenderer, stream, new GeoCoordinateBox(
                                                                         new GeoCoordinate(51.20190, 4.66540),
                                                                         new GeoCoordinate(51.30720, 4.89820)), 5, 2, 16);

            // do some of the testing.
            RenderingSerializedSceneTests <TTarget> .TestRenderScene(createTarget, createRenderer, stream, new GeoCoordinateBox(
                                                                         new GeoCoordinate(51.20190, 4.66540),
                                                                         new GeoCoordinate(51.30720, 4.89820)), 5, 2, 14);

            // do some of the testing.
            RenderingSerializedSceneTests <TTarget> .TestRenderScene(createTarget, createRenderer, stream, new GeoCoordinateBox(
                                                                         new GeoCoordinate(51.20190, 4.66540),
                                                                         new GeoCoordinate(51.30720, 4.89820)), 5, 2, 12);

            //// do some of the testing.
            //RenderingSerializedSceneTests<TTarget>.TestRenderScene(createTarget, createRenderer, stream, new GeoCoordinateBox(
            //    new GeoCoordinate(51.20190, 4.66540),
            //    new GeoCoordinate(51.30720, 4.89820)), 5, 2, 10);
        }