public void TestSystemsSphere() { string systemName = "Sol"; List <Dictionary <string, object> > sphereSystems = StarMapService.GetStarMapSystemsSphere(systemName, 0, 10, false, false, false, false); Assert.AreEqual(12, sphereSystems.Count); }
public void TestSystemsSphere() { string resource = "api-v1/sphere-systems"; string json = Encoding.UTF8.GetString(Resources.sphereAroundSol); List <JObject> data = new List <JObject>(); fakeEdsmRestClient.Expect(resource, json, data); string systemName = "Sol"; List <Dictionary <string, object> > sphereSystems = fakeEdsmService.GetStarMapSystemsSphere(systemName, 0, 10, false, false, false, false); Assert.AreEqual(12, sphereSystems.Count); }