Пример #1
0
        public void TestEspaña_Capital()
        {
            IBaseDatosGeografica miBaseDatosGeografica =
                Juego.dameElJuego().baseDatosGeografica;
            IPais españa = miBaseDatosGeografica.getPais("España");

            Assert.AreEqual(españa.capital, "Madrid");
        }
Пример #2
0
        public void TestEspaña_Nombre()
        {
            IBaseDatosGeografica miBaseDatosGeografica =
                Juego.dameElJuego().baseDatosGeografica;
            IPais españa = miBaseDatosGeografica.getPais("España");

            Assert.AreEqual(españa.nombre, "España");
        }
Пример #3
0
        public void TestEspaña_Continente()
        {
            IBaseDatosGeografica miBaseDatosGeografica =
                Juego.dameElJuego().baseDatosGeografica;
            IPais       españa = miBaseDatosGeografica.getPais("España");
            IContinente europa = miBaseDatosGeografica.getContinente("Europa");

            Assert.AreEqual(españa.continente, europa);
        }