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