Ejemplo n.º 1
0
        public void Encyclopedia_tankengines_get_1_engine_by_id()
        {
            var result = WGApplication.GetEngines(grilleEngineId);

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Ejemplo n.º 2
0
        public void Encyclopedia_tankengines_get_engines_by_list_of_id_specify_all_parameters_for_specific_nation()
        {
            var result = WGApplication.GetEngines(new[] { grilleTankId }, WGLanguageField.EN, WGNation.Germany, "name");

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Ejemplo n.º 3
0
        public void Encyclopedia_tankengines_get_all_engines()
        {
            var result = WGApplication.GetEngines();

            Assert.IsNotNull(result.Data);
            Assert.IsTrue(result.Data.Count > 1);
            Assert.AreEqual("ok", result.Status);
        }