Пример #1
0
        public void Encyclopedia_tankturrets_get_1_turret_by_id()
        {
            var result = WGApplication.GetTurrets(t54TurretId);

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Пример #2
0
        public void Encyclopedia_tankturrets_get_turrets_by_list_of_id_specify_all_parameters_for_specific_nation()
        {
            var result = WGApplication.GetTurrets(new[] { t54TurretId }, WGLanguageField.EN, WGNation.USSR, "name");

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Пример #3
0
        public void Encyclopedia_tankturrets_get_all_turrets()
        {
            var result = WGApplication.GetTurrets();

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