Exemplo n.º 1
0
        public void Encyclopedia_tankradios_get_1_radio_by_id()
        {
            var result = WGApplication.GetRadios(grilleRadioId);

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

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

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