public void first_letter_of_first_name_followed_by_first_four_letters_of_last_name() { var od = new iRacingReplayOverlay.Phases.Capturing.OverlayData.Driver { UserName = "******" }; Assert.That(od.ShortName, Is.EqualTo("FLast")); }
public void deal_with_short_last_names() { var od = new iRacingReplayOverlay.Phases.Capturing.OverlayData.Driver { UserName = "******" }; Assert.That(od.ShortName, Is.EqualTo("FLt")); }
public void ignore_middle_names() { var od = new iRacingReplayOverlay.Phases.Capturing.OverlayData.Driver { UserName = "******" }; Assert.That(od.ShortName, Is.EqualTo("FLast")); }
public void full_user_name_when_less_than_four_chars_long() { var od = new iRacingReplayOverlay.Phases.Capturing.OverlayData.Driver { UserName = "******" }; Assert.That(od.ShortName, Is.EqualTo("Abc")); }
public void upper_case_first_initials() { var od = new iRacingReplayOverlay.Phases.Capturing.OverlayData.Driver { UserName = "******" }; Assert.That(od.ShortName, Is.EqualTo("FLast")); }