Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public ParticipantResult(Participant participant, EndingEventType irm, double?netTime = null) : base(participant)
 {
     NetTime = netTime;
     Irm     = irm;
 }