public async Task FailGetSystemNonExistent() { var response = await EdsmAPI.GetSystemsInRadius("sdajasd"); response.Dump(); Assert.IsNull(response.Data); }
public async Task GetRadiusBySystemName() { var response = await EdsmAPI.GetSystemsInRadius("Colonia"); response.Dump(); Assert.IsNotNull(response.Data); Assert.Greater(response.Data.entries.Length, 0); }
public async Task GetRadiusByCoordinates() { var response = await EdsmAPI.GetSystemsInRadius(null, new Orcabot.Types.Coordinate { X = 120, Y = 1337, Z = 420 }); response.Dump(); Assert.IsNotNull(response.Data); Assert.Greater(response.Data.entries.Length, 0); }