Exemplo n.º 1
0
 public void ShouldTestAssertion_SomethingGood()
 {
     try
     {
         Assert.ValidInput("Something-GOOD!!", string.Empty);
     }
     catch
     {
         NUnit.Framework.Assert.Fail("Unexpected exception");
     }
 }
Exemplo n.º 2
0
 public void ShouldTestAssertion_LiteralStringEmpty()
 {
     Assert.ValidInput("string.Empty", string.Empty);
 }
Exemplo n.º 3
0
 public void ShouldTestAssertion_Undefined()
 {
     Assert.ValidInput("Undefined", string.Empty);
 }
Exemplo n.º 4
0
 public void ShouldTestAssertion_NaN()
 {
     Assert.ValidInput("NaN", string.Empty);
 }
Exemplo n.º 5
0
 public void ShouldTestAssertion_StringEmpty()
 {
     Assert.ValidInput("", string.Empty);
 }
Exemplo n.º 6
0
 public void ShouldTestAssertion_Unknown()
 {
     Assert.ValidInput("Unknown", string.Empty);
 }
Exemplo n.º 7
0
 public void ShouldTestAssertion_CaseInsensitive()
 {
     Assert.ValidInput("NuLl", string.Empty);
 }