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)); }
public static bool HasAreaMnemonic(this LasSection lasSection) { return(lasSection.HasAnyMnemonic(MNEM_PROV, MNEM_CNTY, MNEM_STAT, MNEM_CTRY)); }
public static bool HasIdentifierMnemonic(this LasSection lasSection) { return(lasSection.HasAnyMnemonic(MNEM_UWI, MNEM_API)); }