예제 #1
0
 public void BracketsBeforeTextReturnsTrue()
 {
     Assert.IsTrue(BalancedBrackets.HasBalancedBrackets("[]Text"));
 }
예제 #2
0
 public void EmptyStringReturnsTrue()
 {
     Assert.IsTrue(BalancedBrackets.HasBalancedBrackets(""));
 }
예제 #3
0
 public void BracketsContainingTextReturnsTrue()
 {
     Assert.IsTrue(BalancedBrackets.HasBalancedBrackets("[Text]"));
 }
예제 #4
0
 public void OnlyBracketsReturnsTrue()
 {
     Assert.IsTrue(BalancedBrackets.HasBalancedBrackets("[]"));
 }