public void GetSpeciesObservationCountUme() { GbifConnector connector = new HerbariumOfUmeaUniversityConnector(); Int64 speciesObservationCount; speciesObservationCount = connector.GetSpeciesObservationCount(); Assert.AreNotEqual(speciesObservationCount, -1); Debug.WriteLine("Ume (GBIF), total number of species observations are " + speciesObservationCount); }
public void GetPageCountUme() { GbifConnector connector = new HerbariumOfUmeaUniversityConnector(); Int64 pageCount, speciesObservationCount; speciesObservationCount = connector.GetSpeciesObservationCount(); Assert.IsTrue(0 < speciesObservationCount); Debug.WriteLine("Ume (GBIF), total number of species observations is " + speciesObservationCount); pageCount = connector.GetPageCount(speciesObservationCount); Assert.IsTrue(0 < pageCount); Debug.WriteLine("Ume (GBIF), total number of pages is " + pageCount); }