Esempio n. 1
0
        public void Test_Decoding_CloudFlares_Im_Under_Attack_Mode_Challenge_Question()
        {
            int decoded = decodeChallengeQuestion.Decode(obfuscated, string.Empty);

            Assert.AreEqual(23739, decoded);
        }
        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"));
        }