コード例 #1
0
 public void ShouldNotBeCaseSensitiveWhenParsingTinyType()
 {
     Assert.That(CrossingType.From("PelIcan"), Is.EqualTo(CrossingType.Pelican));
 }
コード例 #2
0
 public void ShouldIdentifyATinyTypeFromStringValue()
 {
     Assert.That(CrossingType.From("pelican"), Is.EqualTo(CrossingType.Pelican));
     Assert.That(CrossingType.From("zebra"), Is.EqualTo(CrossingType.Zebra));
 }