public void ShouldJoinNames() { NameJoiner test = new NameJoiner(); string result = test.Join("Andrii", "Yuskov"); Assert.Equal("Andrii Yuskov", result); }
public void ShouldJoinNames_CaseInsensitiveAssert() { var sut = new NameJoiner(); var fullName = sut.Join("sarah", "smith"); Assert.That(fullName, Is.EqualTo("SARAH SMITH").IgnoreCase); }
public void ShouldJoinNames_NotEqualDemo() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.That(fullName, Is.Not.EqualTo("Gentry Smith")); }
public void ShouldJoinNames() { var sut = new NameJoiner(); var result = sut.Join("Jon", "Arryn"); Assert.That(result, Is.EqualTo("Jon Arryn")); }
public void ShouldJoinNames() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.That(fullName, Is.EqualTo("Sarah Smith")); }
public void ShouldJoinNames_NotEqualsDemo() { var sut = new NameJoiner(); var result = sut.Join("Jon", "Arryn"); Assert.That(result, Is.Not.EqualTo("Lysa Arryn")); }
public void ShouldJoinNames_CaseInsensitiveAssertDemo() { var sut = new NameJoiner(); var result = sut.Join("Jon", "Arryn"); Assert.That(result, Is.EqualTo("JON ARRYN").IgnoreCase); }
public void ShouldJoinNames_NotEqualDemo() { var sut = new NameJoiner(); var fullName = sut.Join("wendy", "lee"); Assert.That(fullName, Is.Not.EqualTo("EENDY Lee").IgnoreCase); }
public void ShouldJoinNames_CaseUnsensitive() { NameJoiner test = new NameJoiner(); string result = test.Join("ANDRII", "YUSKOV"); Assert.Equal("Andrii Yuskov", result, ignoreCase: true); }
public void ShouldJoinNamesCaseInsensitive() { var sut = new NameJoiner(); var result = sut.Join("sarah", "smith"); Assert.Equal("SARAH SMITH", result, ignoreCase: true); }
public void ShouldJoinNames() { var sut = new NameJoiner(); var fullName = sut.Join("Wendy", "Lee"); Assert.That(fullName, Is.EqualTo("Wendy Lee")); }
public void ShouldJoinNames_CaseInsensitiveAssertDemo() { var sut = new NameJoiner(); var fullName = sut.Join("wendy", "lee"); Assert.That(fullName, Is.EqualTo("WENDY Lee").IgnoreCase); }
public void ShouldContainFirstNameAfterJoining() { var sut = new NameJoiner(); var result = sut.Join("Sarah", "Smith"); Assert.Contains("Sarah", result); }
public void ShouldJoinName_Regex() { var namejoiner = new NameJoiner(); var fullName = namejoiner.Join("Rakesh", "Tiwari"); Assert.Matches("[A-Z]{1}[a-z]+ [A-Z]{1}[a-z]+", fullName); }
public void ShouldJoinName() { var namejoiner = new NameJoiner(); var fullName = namejoiner.Join("Rakesh", "Tiwari"); Assert.Equal("Rakesh Tiwari", fullName); }
public void ShouldJoinName_EndsWith() { var namejoiner = new NameJoiner(); var fullName = namejoiner.Join("Rakesh", "Tiwari"); Assert.EndsWith("ri", fullName); }
public void ShouldJoinName_SubStringContent() { var namejoiner = new NameJoiner(); var fullName = namejoiner.Join("Rakesh", "Tiwari"); Assert.Contains("Tiwari", fullName); }
public void ShouldJoinName_CaseInsensitive() { var namejoiner = new NameJoiner(); var fullName = namejoiner.Join("Rakesh", "Tiwari"); Assert.Equal("RAKESH TIWARI", fullName, ignoreCase: true); }
public void ShouldEndWithLastNameAfterJoining() { var sut = new NameJoiner(); var result = sut.Join("Sarah", "Smith"); Assert.EndsWith("Smith", result); }
public void ShouldBeValidFullNameAfterJoining() { var sut = new NameJoiner(); var result = sut.Join("Sarah", "Smith"); Assert.Matches("[A-Z][a-z]+ [A-Z][a-z]+", result); }
public void ShouldJoinNames() { var sut = new NameJoiner(); var result = sut.Join("Sarah", "Smith"); Assert.Equal("Sarah Smith", result); }
public void ShouldJoinNames_Regex() { var sut = new NameJoiner(); var result = sut.Join("Priscila", "Lima"); Assert.Matches("^P", result); }
public void ShouldJoinNames_StartsWith() { var sut = new NameJoiner(); var result = sut.Join("Diego", "Dantas"); Assert.StartsWith("Diego", result); }
public void ShouldJoinNames_EndsWith() { var sut = new NameJoiner(); var result = sut.Join("Victor", "Ferreira"); Assert.EndsWith("ira", result); }
public void ShouldJoinNamesIgnoringCase() { var sut = new NameJoiner(); var result = sut.Join("GILBERTO", "MADEIRA"); Assert.Equal("gilberto madeira", result, ignoreCase: true); }
public void ShouldJoinNamesVerifyingContent() { var sut = new NameJoiner(); var result = sut.Join("Joselia", "Amancio"); Assert.Contains("Amancio", result); }
public void ShouldJoinNames_SubstringContents() { NameJoiner test = new NameJoiner(); string actualResult = test.Join("Andrii", "Yuskov"); string expectedResult = "Andrii"; Assert.Contains(expectedResult, actualResult); }
public void ShouldJoinNames_Regex() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.Matches("[A-Z]{1}[a-z]+ [A-Z]{1}[a-z]", fullName); }
public void ShouldJoinNames_SubstringContents() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.Contains("Sarah", fullName); }
public void ShouldJoinNames_CaseInsensitiveAssertDemo() { var sut = new NameJoiner(); var fullName = sut.Join("SARAH", "SMITH"); Assert.That(fullName, Is.EqualTo("SARAH SMITH")); }
public void ShouldJoinNames_CaseInsensitiveAssertDemo() { var sut = new NameJoiner(); var fullName = sut.Join("sarah", "smith"); Assert.Equal("SARAH SMITH", fullName, ignoreCase: true); }
public void ShouldJoinNames_CaseInsensitiveAssertDemo() { var sut = new NameJoiner(); var fullName = sut.Join("sarah", "smith"); Assert.That(fullName, Is.EqualTo("SARAH SMITH").IgnoreCase); }
public void ShouldJoinNames_EndsWith() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.EndsWith("ith", fullName); }
public void ShouldJoinNames() { var sut = new NameJoiner(); var fullName = sut.Join("Sarah", "Smith"); Assert.Equal("Sarah Smith", fullName); }
public void ShouldJoinNames_StringStartsWith() { NameJoiner test = new NameJoiner(); string actualResult = test.Join("Andrii", "Yuskov"); string expectedResult = "Andrii"; Assert.StartsWith(expectedResult, actualResult); }