Exemple #1
0
 public void IsValidUsername_Valid_Username_Should_Return_True(string username)
 {
     Assert.IsTrue(AppHelperTest.IsValidUsername(username));
 }
Exemple #2
0
 public void IsValidUsername_Username_With_Invalid_Characters_Should_Return_False(string invalidUsername)
 {
     Assert.IsFalse(AppHelperTest.IsValidUsername(invalidUsername));
 }
Exemple #3
0
 public void IsValidUsername_Usernames_Starting_With_Non_Alpha_Should_Return_False(string invalidUsername)
 {
     Assert.IsFalse(AppHelperTest.IsValidUsername(invalidUsername));
 }
Exemple #4
0
 public void IsValidUsername_ShortUsernames_Should_Return_False(string invalidUsername)
 {
     Assert.IsFalse(AppHelperTest.IsValidUsername(invalidUsername));
 }
Exemple #5
0
 public void IsValidEmail_Valid_Emails_Should_Return_True(string validEmail)
 {
     Assert.IsTrue(AppHelperTest.IsValidEmail(validEmail), $"Email validation failed for {validEmail}");
 }
Exemple #6
0
 public void IsValidEmail_Invalid_Emails_Should_Return_False(string invalidEmail)
 {
     Assert.IsFalse(AppHelperTest.IsValidEmail(invalidEmail), $"Email validation failed for {invalidEmail}");
 }