public void LasSectionhelpers_MaxDataWidth_Pass() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine { Data = "DATA" } }; Assert.AreEqual(4, mnemonicLines.MaxDataWidth()); }
public void LasSectionhelpers_MaxDataWidth_Pass_EmptyData() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine { Data = string.Empty } }; Assert.AreEqual(0, mnemonicLines.MaxDataWidth()); }
public void LasSectionhelpers_MaxDataWidth_Pass_NoData() { var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine() }; Assert.AreEqual(0, mnemonicLines.MaxDataWidth()); }
public void LasSectionhelpers_MaxDataWidth_Pass_EmptyEnumerable() { var mnemonicLines = new LasMnemonicLine[0]; Assert.AreEqual(0, mnemonicLines.MaxDataWidth()); }