Example #1
0
        public void Bad_Name_Should_be_on_SL()
        {
            Sanktionsliste SL = new Sanktionsliste();

            Assert.IsTrue(SL.is_on("Böser Name"));
        }
Example #2
0
        public void Good_Name_Should_not_be_on_SL()
        {
            Sanktionsliste SL = new Sanktionsliste();

            Assert.IsFalse(SL.is_on("Guter Name"));
        }
Example #3
0
        public void epty_name_should_throw_exception()
        {
            Sanktionsliste SL = new Sanktionsliste();

            SL.is_on("");
        }
Example #4
0
 public bool is_hit()
 {
     return(SL.is_on(name));
 }