1 using NUnit.Framework;
 2 
 3 namespace CheckExcel
 4 {
 5     [TestFixture]
 6     public class TestExcelHelper
 7     {
 8         /// <summary>
 9         /// 文件名
10         /// </summary>
11         string fileName1 = @"D:\Test\a.xlsx";
12         string fileName2 = @"D:\Test\c.xlsx";
13 
14         /// <summary>
15         /// 测试方法
16         /// </summary>
17         [Test]
18         public void Test()
19         {
20             bool result = ExcelHelper.CheckExcel(fileName1, fileName2);
21             Assert.AreEqual(true, result);
22         }
23     }
24 }

 

相关文章:

  • 2021-04-03
  • 2022-12-23
  • 2023-02-18
  • 2022-12-23
  • 2021-07-12
  • 2021-07-18
  • 2022-12-23
  • 2021-05-03
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-06-20
  • 2022-12-23
  • 2021-07-06
  • 2021-07-02
  • 2022-02-07
相关资源
相似解决方案