Beispiel #1
0
 public void ArgumentException_If_There_Are_No_Brackets()
 {
     Assert.Throws <ArgumentException>(() =>
                                       MultiBracketValidation.Validate("I have no brackets"));
 }
Beispiel #2
0
        public void Expected_False_Returns(string testString)
        {
            bool result = MultiBracketValidation.Validate(testString);

            Assert.False(result);
        }
Beispiel #3
0
 public void ArugmentException_Error_If_Empty_String()
 {
     Assert.Throws <ArgumentException>(() =>
                                       MultiBracketValidation.Validate(""));
 }
Beispiel #4
0
        public void Happy_Paths_True(string testString)
        {
            bool result = MultiBracketValidation.Validate(testString);

            Assert.True(result);
        }