コード例 #1
0
 public void GetScantimeFinalBlankAreaDecision_ReturnsCorrectScantimeFinalBlankAreaDecision()
 {
     Assert.Equal(ScantimeFinalBlankAreaDecision.Blank,
                  AttributeHelpers.GetScantimeFinalBlankAreaDecision("BLANK"));
     Assert.Equal(ScantimeFinalBlankAreaDecision.NotBlank,
                  AttributeHelpers.GetScantimeFinalBlankAreaDecision("NOT_BLANK"));
     Assert.Equal(ScantimeFinalBlankAreaDecision.Undetermined,
                  AttributeHelpers.GetScantimeFinalBlankAreaDecision("UNDETERMINED"));
     Assert.Null(AttributeHelpers.GetScantimeFinalBlankAreaDecision(""));
     Assert.Null(AttributeHelpers.GetScantimeFinalBlankAreaDecision(null));
     Assert.Null(AttributeHelpers.GetScantimeFinalBlankAreaDecision("SOME_RANDOM_STRING"));
 }