public void TestPass_VerifyInventorNamesFindsCorrect_CountryNotInFile(string country)
        {
            List <string> list = PatentDataAnalyzer.InventorNames(country);
            int           sizeOfInvalidCountryName = list.Count;

            //Console.WriteLine(list.ToArray());
            Assert.AreEqual(list.Count, 0);
        }
        public void TestPass_VerifyInventorNamesFindsCorrect_2(string country)
        {
            List <string> expectedList = new List <string> {
                "Benjamin Franklin", "Orville Wright", "Wilbur Wright", "Samuel Morse", "John Michaelis", "Mary Phelps Jacob"
            };
            List <string> list = PatentDataAnalyzer.InventorNames(country);

            //Console.WriteLine(list.ToArray());
            CollectionAssert.Equals(expectedList, list);
        }
        public void TestPass_Verify(string country)
        {
            List <string> expectedList = new List <string> {
                "George Stephenson"
            };
            List <string> list = PatentDataAnalyzer.InventorNames(country);

            //Console.WriteLine(list.ToArray());
            CollectionAssert.Equals(expectedList, list);
        }
        public void TestPass_VerifyGetInventorsWithMultiplePariants()
        {
            List <Inventor> expected = PatentDataAnalyzer.GetInventorsWithMulitplePatents(3);

            List <Inventor> actual = new List <Inventor> {
                new Inventor()
                {
                    Name    = "Benjamin Franklin",
                    City    = "Philadelphia",
                    State   = "PA",
                    Country = "USA",
                    Id      = 1
                }
            };
            //Console.WriteLine(list.ToArray());
            InventorComparator t = new InventorComparator();

            CollectionAssert.AreEqual(expected, actual, t);
        }
        public void TestFail_VerifyIncorrectectResultsForOccurInPatient(long id, int expectedOccur)
        {
            int actualOccur = PatentDataAnalyzer.NumOfOccurance(id);

            Assert.AreNotEqual(expectedOccur, actualOccur);
        }
        public void TestPass_VerifyCorrectNumOfIdOccurInPatient(long id, int expectedOccur)
        {
            int actualOccur = PatentDataAnalyzer.NumOfOccurance(id);

            Assert.AreEqual(expectedOccur, actualOccur);
        }