Пример #1
0
 public void GetDeskewStatus_ReturnsCorrectDeskewStatus()
 {
     Assert.Equal(DeskewStatus.Yes, AttributeHelpers.GetDeskewStatus("YES"));
     Assert.Equal(DeskewStatus.No, AttributeHelpers.GetDeskewStatus("NO"));
     Assert.Equal(DeskewStatus.Inactive, AttributeHelpers.GetDeskewStatus("INACTIVE"));
     Assert.Null(AttributeHelpers.GetDeskewStatus(""));
     Assert.Null(AttributeHelpers.GetDeskewStatus(null));
     Assert.Null(AttributeHelpers.GetDeskewStatus("SOME_RANDOM_STRING"));
 }