コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }