/// <summary>
        ///Method to create object for US census Data
        /// </summary>
        public static GetUSCSVCount DelegateofUSCensusData()
        {
            USCensusDataDAO csvUSCensus = InstanceOfUSCensus();
            GetUSCSVCount   getCSVCount = new GetUSCSVCount(USCensusDataDAO.USCensusRecords);

            return(getCSVCount);
        }
Beispiel #2
0
        public void GivenCSVStateCodeFile_WhenAnalyse_ShouldRecordNumberOfRecordmatcheUSCensusData()
        {
            int actual = USCensusDataDAO.USCensusRecords(Uscensus);

            Assert.AreEqual(51, actual);
        }