public async Task Sol2_does_not_exist() { var client = new HttpClient(); var api = new SpanshApi(client); var match = await api.GetKnownMatch("Sol2"); Assert.Null(match); }
public async Task Colonia_Exists() { var client = new HttpClient(); var api = new SpanshApi(client); var match = await api.GetKnownMatch("cOLonia"); Assert.NotNull(match); Assert.Equal("Colonia", match.Name); Assert.Equal(3238296097059, match.Id64); }
public async Task Sol_Exists() { var client = new HttpClient(); var api = new SpanshApi(client); var match = await api.GetKnownMatch("Sol"); Assert.NotNull(match); Assert.Equal("Sol", match.Name); Assert.Equal(10477373803, match.Id64); }