从山证v2.3.0拷贝

This commit is contained in:
吴方海
2024-05-09 14:06:26 +08:00
parent 566ff33259
commit f9d8a256a6
4471 changed files with 1203456 additions and 9 deletions
@@ -0,0 +1,20 @@
namespace YLErp.Modules.DataProviderModule
{
[TestClass]
public class EodPriceProviderTest : YLUnitTestBase
{
[TestMethod]
public void TestInitialize()
{
var provider1 = new EodPriceProvider(new DateTime(2021, 5, 27)).Initialize();
var provider2 = new EodPriceProvider(new DateTime(2021, 5, 27)).Initialize(new[] { "" });
Assert.AreEqual(provider1.Count, provider2.GetEodPriceList().Count());
var provider3 = new EodPriceProvider(new DateTime(2021, 5, 27)).Initialize(new[] { "RB00", "000300.SH" });
Assert.AreEqual(provider3.Count, 2);
}
}
}