public async Task SystemNoDeaths() { var response = await EdsmAPI.GetSystemDeaths("Lysoorb AX-L b49-7"); response.Dump(); Assert.IsNotNull(response.Data); Assert.AreEqual(0, response.Data.AllTime); }
public async Task SystemDeaths() { var response = await EdsmAPI.GetSystemDeaths("Deciat"); response.Dump(); Assert.IsNotNull(response.Data); Assert.Greater(response.Data.AllTime, 0, "Deciat has Deaths"); }
public async Task SystemNonExistent() { var response = await EdsmAPI.GetSystemDeaths("sdsadas"); response.Dump(); Assert.IsNull(response.Data, "System does not exist. Empty object should be returned by API."); Assert.AreEqual(1, response.MessageNumber, "1 indicates that the response was empty"); }