public void IsVanityAddress_WhenStartsWithAndEndsWithAndCaseSensitive_DontMatch(string address, string vanityText) { var vanityAddressVerifier = new InputStringVerifierService(vanityText, true, true, true); Assert.IsFalse(vanityAddressVerifier.IsVanityAddress(address)); }
public void IsVanityAddress_WhenContainsAndCaseSensitive_Match(string address, string vanityText) { var vanityAddressVerifier = new InputStringVerifierService(vanityText, true, false, false); Assert.IsTrue(vanityAddressVerifier.IsVanityAddress(address)); }
public void IsVanityAddress_WhenEndsWith_Match(string address, string vanityText) { var vanityAddressVerifier = new InputStringVerifierService(vanityText, false, false, true); Assert.IsTrue(vanityAddressVerifier.IsVanityAddress(address)); }
public void IsVanityAddress_WhenNotContains_DontMatch(string address, string vanityText) { var vanityAddressVerifier = new InputStringVerifierService(vanityText, false, false, false); Assert.IsFalse(vanityAddressVerifier.IsVanityAddress(address)); }