Beispiel #1
0
        public void Encyclopedia_tankguns_get_1_gun_by_id()
        {
            var result = WGApplication.GetGuns(grilleGunId);

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Beispiel #2
0
        public void Encyclopedia_tankguns_get_guns_by_list_of_id_specify_all_parameters_for_specific_nation()
        {
            var result = WGApplication.GetGuns(new[] { grilleGunId }, WGLanguageField.EN, WGNation.Germany, "name");

            Assert.IsNotNull(result.Data);
            Assert.AreEqual(1, result.Data.Count);
            Assert.AreEqual("ok", result.Status);
        }
Beispiel #3
0
        public void Encyclopedia_tankguns_get_all_guns()
        {
            var result = WGApplication.GetGuns();

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