Esempio n. 1
0
 public void GetFrontStreakDetectStatus_ReturnsCorrectFrontStreakDetectStatus()
 {
     Assert.Equal(FrontStreakDetectStatus.Yes, AttributeHelpers.GetFrontStreakDetectStatus("YES"));
     Assert.Equal(FrontStreakDetectStatus.No, AttributeHelpers.GetFrontStreakDetectStatus("NO"));
     Assert.Equal(FrontStreakDetectStatus.Inactive, AttributeHelpers.GetFrontStreakDetectStatus("INACTIVE"));
     Assert.Null(AttributeHelpers.GetFrontStreakDetectStatus(""));
     Assert.Null(AttributeHelpers.GetFrontStreakDetectStatus(null));
     Assert.Null(AttributeHelpers.GetFrontStreakDetectStatus("SOME_RANDOM_STRING"));
 }