Example #1
0
        public void LasSectionhelpers_MaxDataWidth_Pass()
        {
            var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine {
                                                            Data = "DATA"
                                                        } };

            Assert.AreEqual(4, mnemonicLines.MaxDataWidth());
        }
Example #2
0
        public void LasSectionhelpers_MaxDataWidth_Pass_EmptyData()
        {
            var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine {
                                                            Data = string.Empty
                                                        } };

            Assert.AreEqual(0, mnemonicLines.MaxDataWidth());
        }
Example #3
0
        public void LasSectionhelpers_MaxDataWidth_Pass_NoData()
        {
            var mnemonicLines = new LasMnemonicLine[] { new LasMnemonicLine() };

            Assert.AreEqual(0, mnemonicLines.MaxDataWidth());
        }
Example #4
0
        public void LasSectionhelpers_MaxDataWidth_Pass_EmptyEnumerable()
        {
            var mnemonicLines = new LasMnemonicLine[0];

            Assert.AreEqual(0, mnemonicLines.MaxDataWidth());
        }