public void T040_AllForLatLong_22079() { var req = new Legislators(ConfigData.API_KEY); var result = req.AllForLatLong(38.695, -77.214); Assert.IsTrue(result.Count() > 0, "AllForLatLong failed for 38.695, -77.214"); // ZIP 220789 should contain at least as many var result2 = req.AllForZip("22079"); Assert.IsTrue(result2.Count() >= result.Count(), "AllForLatLong didn't return matching value for AllForZip (22079)"); }
public void T030_AllForZip_22079() { var req = new Legislators(ConfigData.API_KEY); var result = req.AllForZip("22079"); Assert.IsTrue(result.Count() > 0, "AllForZip failed for 22079"); }