Example #1
0
        public void Is_Request_Accurate()
        {
            DecodeChallengeQuestion decodeChallengeQuestion = new DecodeChallengeQuestion();
            var clearanceUrl = decodeChallengeQuestion.GetClearanceUrl(html);

            Assert.AreEqual("http://images.nga.gov/cdn-cgi/l/chk_jschl?jschl_vc=b31286bcab0fb9b7d5bc3482c9699b80&pass=1505545382.875-xV2AjG19R7&jschl_answer=-862", clearanceUrl);
        }
        public void Answer_To_Challenge_Question_Is_108()
        {
            DecodeChallengeQuestion decodeChallengeQuestion = new DecodeChallengeQuestion();

            Assert.AreEqual(108, decodeChallengeQuestion.Decode(NEW_REQUEST_TO_IMAGES_NGA_GOV, "images.nga.gov"));
        }