Esempio n. 1
0
        public void hackerrank41Test()
        {
            string[]          oData  = GetInputData(_sTestDataRootDir + "hackerrank41_input.txt");
            PrefixCheckResult result = NoPrefixSet.DoBadPrefixCheck(oData);

            Assert.Multiple(() =>
            {
                Assert.AreEqual(true, result._result);
                Assert.IsTrue(true);
            });
        }
Esempio n. 2
0
        public void hackerrank22Test()
        {
            string[]          oData  = GetInputData(_sTestDataRootDir + "hackerrank22_input.txt");
            PrefixCheckResult result = NoPrefixSet.DoBadPrefixCheck(oData);

            Assert.Multiple(() =>
            {
                Assert.AreEqual(false, result._result);
                Assert.AreEqual("aacghgh", result._word);
            });
        }