Esempio n. 1
0
 public void AllAreUsed_CompleteMatchWithMore()
 {
     Assert.IsTrue(ParseBucket <Offset> .IsFieldUsed(PatternFields.Hours24 | PatternFields.Minutes | PatternFields.Hours12,
                                                     PatternFields.Hours24 | PatternFields.Minutes));
 }
Esempio n. 2
0
 public void IsUsed_SingleValueMatch()
 {
     Assert.IsTrue(ParseBucket <Offset> .IsFieldUsed(PatternFields.Hours24, PatternFields.Hours24));
 }
Esempio n. 3
0
 public void IsFieldUsed_MultiValueMatch()
 {
     Assert.IsTrue(ParseBucket <Offset> .IsFieldUsed(PatternFields.Hours24 | PatternFields.Minutes, PatternFields.Hours24));
 }
Esempio n. 4
0
 public void IsUsed_NoMatch()
 {
     Assert.IsFalse(ParseBucket <Offset> .IsFieldUsed(PatternFields.Hours12 | PatternFields.Minutes, PatternFields.Hours24));
 }