Example #1
0
        public void checkMostPopulatedDensityOfUS()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/USCensusDataPopulation.json", "Population Density", 0);

            Assert.AreEqual("92.32", checkResult);
        }
Example #2
0
        public void checkSmallestTotalAreaState()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/USCensusDataTotalArea.json", "State", 1);

            Assert.AreEqual("District of Columbia", checkResult);
        }
Example #3
0
        public void checkMostPopulatedDensityOfIndia()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/IndianCensusDataPopulation.json", "DensityPerSqKm", 0);

            Assert.AreEqual("828", checkResult);
        }
Example #4
0
        public void checkLeastPopulationDensityState()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/USCensusDataPopulationDensity.json", "State", 1);

            Assert.AreEqual("Alaska", checkResult);
        }
Example #5
0
        public void checkLargestTotalAreaState()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/USCensusDataTotalArea.json", "State", 0);

            Assert.AreEqual("Alaska", checkResult);
        }
Example #6
0
        public void checkMostPopulousState()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/IndianStateCensusAnalyser/USCensusDataPopulation.json", "State", 0);

            Assert.AreEqual("California", checkResult);
        }
Example #7
0
        public void checkEndOfStateCensusUc5()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/StateCensusDataUC5.json", "State", 1);

            Assert.AreEqual("Uttarakhand", checkResult);
        }
Example #8
0
        public void checkStartOfStateCensusUc5()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/StateCensusDataUC5.json", "State", 0);

            Assert.AreEqual("West Bengal", checkResult);
        }
Example #9
0
        public void checkEndOfStateCode()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/StateCodeCopy.json", "StateCode", 1);

            Assert.AreEqual("WB", checkResult);
        }
Example #10
0
        public void checkStartOfStateCensus()
        {
            Analyser analyser    = new Analyser();
            string   checkResult = analyser.CheckData("C:/Users/User/source/repos/StateCensusDataCopy.json", "State", 0);

            Assert.AreEqual("Andhra Pradesh", checkResult);
        }