예제 #1
0
 public void LasSectionHelpers_HasAnyMnemonic_Pass()
 {
     Assert.IsFalse(nullSection.HasAnyMnemonic("MNEM"));
     Assert.IsFalse(emptySection.HasAnyMnemonic("MNEM"));
     Assert.IsFalse(mnemonicSection.HasAnyMnemonic(null));
     Assert.IsFalse(mnemonicSection.HasAnyMnemonic(string.Empty));
     Assert.IsFalse(mnemonicSection.HasAnyMnemonic("A"));
     Assert.IsTrue(mnemonicSection.HasAnyMnemonic("MNEM"));
     Assert.IsTrue(mnemonicSection.HasAnyMnemonic("A", "B", "MNEM"));
 }
 public static bool HasDepthMnemonic(this LasSection lasSection)
 {
     return(lasSection.HasAnyMnemonic(MNEM_DEPT, MNEM_DEPTH));
 }
예제 #3
0
 public static bool HasAreaMnemonic(this LasSection lasSection)
 {
     return(lasSection.HasAnyMnemonic(MNEM_PROV, MNEM_CNTY, MNEM_STAT, MNEM_CTRY));
 }
예제 #4
0
 public static bool HasIdentifierMnemonic(this LasSection lasSection)
 {
     return(lasSection.HasAnyMnemonic(MNEM_UWI, MNEM_API));
 }