public void GivenCSVStateCodeCheckStartState_WhenAnalyze_ShouldMatch() { StateCensusAnalyzer stateCensusAnalyzer = new StateCensusAnalyzer(); string actual = stateCensusAnalyzer.CheckForState(this.jsonStateCodePath, "First", "StateName", "StateCode"); Assert.AreEqual("Andaman and Nicobar Islands", actual); }
public void GivenCSVStateCodeCheckEndState_WhenAnalyze_ShouldMatch() { StateCensusAnalyzer stateCensusAnalyzer = new StateCensusAnalyzer(); string actual = stateCensusAnalyzer.CheckForState(this.jsonStateCodePath, "Last", "StateName", "StateCode"); Assert.AreEqual("West Bengal", actual); }
public void GivenCSVStateCensusAnalyzerCheckStartState_WhenAnalyze_ShouldMatch() { StateCensusAnalyzer stateCensusAnalyzer = new StateCensusAnalyzer(); string actual = stateCensusAnalyzer.CheckForState(this.jsonStateCensusPath, "First", "State", "StateCensusData"); Assert.AreEqual("Andhra Pradesh", actual); }