[Test] //TC1.1 public void GivenIndianCensusDataFile_WhenReaded_ShouldReturnCensusDataCount() { totalRecord = censusAnalyser.LoadCensusData(indianStateCensusFilePath, Country.INDIA, indianStateCensusHeaders); Assert.AreEqual(29, totalRecord.Count); }
public void GivenIndianCensusDataFile_WhenReaded_ShouldReturnCensusDataCount() { stateRecord = censusAnalyser.LoadCensusData(Country.INDIA, indianStateCodeFilePath, indianStateCodeHeaders); Assert.AreEqual(37, stateRecord.Count); }
public void GivenIndianStateDataCensus_ReturnsCorrectCount() { totalRecord = censusAnalyser.LoadCensusData(CensusAnalyser.Country.INDIA, indianStateCensusFilePath, indianStateCensusHeaders); Assert.AreEqual(29, totalRecord.Count); }
public void GivenCSVFileTestIfRecordsAreSame() { censusAnalyser.datamap = censusAnalyser.LoadCensusData(folderPath + validStateCensusFileState, "State,Population,AreaInSqKm,DensityPerSqKm"); Assert.AreEqual(29, censusAnalyser.datamap.Count); }