public void LasSectionhelpers_MaxMnemonicWidth_Pass() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine { Mnemonic = "MNEM" } }; Assert.AreEqual(4, mnemonicLines.MaxMnemonicWidth()); }
public void LasSectionhelpers_MaxMnemonicWidth_Pass_EmptyMnemonic() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine { Mnemonic = string.Empty } }; Assert.AreEqual(0, mnemonicLines.MaxMnemonicWidth()); }
public void LasSectionhelpers_MaxMnemonicWidth_Pass_NoMnemonic() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine() }; Assert.AreEqual(0, mnemonicLines.MaxMnemonicWidth()); }
public void LasSectionhelpers_MaxMnemonicWidth_Pass_EmptyEnumerable() { var mnemonicLines = new LasMnemonicLine[0]; Assert.AreEqual(0, mnemonicLines.MaxMnemonicWidth()); }