Exemple #1
0
        public void TestContainsLetterToUpper()
        {
            var test = new GenerateRandomLines();

            var result = test.GenerateLines("fgh");

            Assert.IsTrue(result[0].Contains("F") && result[0].Contains("G") && result[0].Contains("H"));
        }
Exemple #2
0
        public void TestNumberLettersInLines()
        {
            var test = new GenerateRandomLines();

            var result = test.GenerateLines("asdfvc");

            Assert.AreEqual(80, result[0].Length);
        }
Exemple #3
0
        public void TestContainsLetterAnother()
        {
            var test = new GenerateRandomLines();

            var result = test.GenerateLines("QWERTYUIOPLKJHGFDSAZXCVBN");

            Assert.IsFalse(result[0].Contains("M"));
        }
Exemple #4
0
        public void TestNumberLines()
        {
            var test = new GenerateRandomLines();

            var result = test.GenerateLines("asdfvc");

            Assert.AreEqual(3, result.Count);
        }