public void UpdateGameStringMountTest() { using MountDataDocument dataDocument = _heroesDataDirectory.MountData(new HeroesDataVersion(2, 47, 3, 76124), true, Localization.KOKR); Mount data = dataDocument.GetMountById("AlarakTaldarimMarch"); Assert.AreEqual("군주의 승천", data.Name); _heroesDataDirectory.UpdateGameString(data, new HeroesDataVersion(2, 48, 4, 77407), Localization.ENUS); Assert.AreEqual("mountName", data.Name); }
public void GetMountByIdTest(string id) { if (id is null) { Assert.ThrowsException <ArgumentNullException>(() => { _ = _mountDataDocument.GetMountById(id !); }); return; } else if (id == "asdf") { Assert.ThrowsException <KeyNotFoundException>(() => { _ = _mountDataDocument.GetMountById(id); }); return; } BasicAnubarakWingsAsserts(_mountDataDocument.GetMountById(id)); }