public void getDigitTest3()
        {
            BathroomSecurity test = new BathroomSecurity();

            int key = test.getDigit("UUUUD", 8);

            Assert.AreEqual(key, 5);
        }
        public void getDigitTest1()
        {
            BathroomSecurity test = new BathroomSecurity();

            int key = test.getDigit("RRDDD", 1);

            Assert.AreEqual(key, 9);
        }
        public void getDigitTest2()
        {
            BathroomSecurity test = new BathroomSecurity();

            int key = test.getDigit("LURDL", 9);

            Assert.AreEqual(key, 8);
        }
        public void getDigitTest()
        {
            BathroomSecurity test = new BathroomSecurity();

            int key = test.getDigit("ULL", 5);

            Assert.AreEqual(key, 1);
        }