public void LookupFalseTest()
        {
            GroundTruth.CreateGroundTruthLookup();

            string[] imageArray = GroundTruth.GetImageKeys();
            bool     isHealthy  = GroundTruth.Lookup("DSC00041.JPG");

            Assert.IsFalse(isHealthy);
        }
        public void GetImageKeysTest()
        {
            GroundTruth.CreateGroundTruthLookup();

            string[] imageArray  = GroundTruth.GetImageKeys();
            int      numEntries  = imageArray.Length;
            int      numPictures = 1787;

            Assert.IsTrue(numEntries == numPictures);
        }
        public void getNumTrueAndFalse()
        {
            int numTrue  = 0;
            int numFalse = 0;

            GroundTruth.CreateGroundTruthLookup();
            string[] imageArray = GroundTruth.GetImageKeys();

            int numImages = imageArray.Length;

            for (int i = 0; i < imageArray.Length; i++)
            {
                if (GroundTruth.Lookup((imageArray[i]).ToString()) == true)
                {
                    numTrue++;
                }
                else
                {
                    numFalse++;
                }
            }

            Assert.IsTrue((numFalse + numTrue) == numImages);
        }
 // Attempt Getting Image Keys:
 public JsonResult OnGetImageKeys()
 {
     // Attempt to return the response:
     return(new JsonResult(GroundTruth.GetImageKeys()));
 }