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

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

            Assert.True(result);
        }