public async Task SystemNoStations() { var response = await EdsmAPI.GetSystemStations("Lysoorb AX-L b49-7"); response.Dump(); Assert.AreEqual(0, response.Data.StationsArray.Length, "Should return no stations, as no exist in said system"); }
public async Task SystemStations() { var response = await EdsmAPI.GetSystemStations("Eravate"); response.Dump(); Assert.Greater(response.Data.StationsArray.Length, 0, "Should have more than one station, as stations exist"); // [+] - Eravate has 8 Stations (at the writing of this test) Assert.GreaterOrEqual(response.Data.StationsArray.Length, 8, "Eravate has 8 Stations (at the writing of this test)"); // Console.WriteLine("Station Count: " + response.Data.StationsArray.Length); }
public async Task SystemNonExistent() { var response = await EdsmAPI.GetSystemStations("dsadsalkajld"); response.Dump(); }