public void MapsEndingEventTypeToExpectedColor_WhenEndingEventTypeKnown(EndingEventType irm, string expectedOutput) { EndingEventToColorConverter converter = new EndingEventToColorConverter(); var result = (string)converter.Convert(irm.ToString("g"), typeof(string), null, CultureInfo.InvariantCulture); Assert.AreEqual(expectedOutput, result); }
public ParticipantResult(Participant participant, EndingEventType irm, double?netTime = null) : base(participant) { NetTime = netTime; Irm = irm; }