using Shouldly; using Xunit; using ExcelFormats = JdeScoping.ExcelIO.Formatting.ExcelFormats; namespace JdeScoping.ExcelIO.Tests.Integration; /// /// Tests for ExcelFormats constants - no workbook generation needed. /// public class LegacyFormatTests { [Fact] public void TimestampFormat_MatchesLegacy() { ExcelFormats.TimestampFormat.ShouldBe("[$-409]m/d/yy h:mm AM/PM;@"); } [Fact] public void DateFormat_MatchesLegacyPattern() { ExcelFormats.DateFormat.ShouldContain("MM/dd/yyyy"); } [Fact] public void WrappedColumnWidth_MatchesLegacy() { ExcelFormats.WrappedColumnWidth.ShouldBe(65); } [Fact] public void CriteriaPaddingFactor_MatchesLegacy() { ExcelFormats.CriteriaPaddingFactor.ShouldBe(1.15); } [Fact] public void DataPaddingFactor_MatchesLegacy() { ExcelFormats.DataPaddingFactor.ShouldBe(1.30); } }