Skip to content

Commit

Permalink
add test data to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dv-lebedev committed Jul 30, 2023
1 parent 273fa7c commit eef0a63
Show file tree
Hide file tree
Showing 9 changed files with 2,059 additions and 1 deletion.
28 changes: 27 additions & 1 deletion PairTradingView.UnitTests/PairTradingView.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,37 @@
<Compile Include="RiskManagerTests.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PairTradingView.Infrastructure\PairTradingView.Shared.csproj">
<ProjectReference Include="..\PairTradingView.Shared\PairTradingView.Shared.csproj">
<Project>{962071e7-bb5e-4b39-8811-db0edd9ba7f4}</Project>
<Name>PairTradingView.Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="csv-files\AFLT.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\BANE.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\GAZP.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\LKOH.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\ROSN.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\SBER.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\SBERP.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="csv-files\TATN.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Choose>
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
<ItemGroup>
Expand Down
254 changes: 254 additions & 0 deletions PairTradingView.UnitTests/csv-files/AFLT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
AFLT,D,20180103,000000,140.4000000
AFLT,D,20180104,000000,148.9000000
AFLT,D,20180105,000000,147.3000000
AFLT,D,20180109,000000,150.5000000
AFLT,D,20180110,000000,149.3000000
AFLT,D,20180111,000000,148.3000000
AFLT,D,20180112,000000,145.6000000
AFLT,D,20180115,000000,146.6000000
AFLT,D,20180116,000000,140.7500000
AFLT,D,20180117,000000,138.4500000
AFLT,D,20180118,000000,137.2000000
AFLT,D,20180119,000000,138.7000000
AFLT,D,20180122,000000,138.6000000
AFLT,D,20180123,000000,138.3000000
AFLT,D,20180124,000000,138.0500000
AFLT,D,20180125,000000,137.1000000
AFLT,D,20180126,000000,134.2000000
AFLT,D,20180129,000000,137.6000000
AFLT,D,20180130,000000,133.2000000
AFLT,D,20180131,000000,133.3000000
AFLT,D,20180201,000000,135.3500000
AFLT,D,20180202,000000,133.5000000
AFLT,D,20180205,000000,138.4000000
AFLT,D,20180206,000000,135.5000000
AFLT,D,20180207,000000,136.4500000
AFLT,D,20180208,000000,137.5000000
AFLT,D,20180209,000000,139.3000000
AFLT,D,20180212,000000,139.0000000
AFLT,D,20180213,000000,140.3000000
AFLT,D,20180214,000000,137.7000000
AFLT,D,20180215,000000,136.8500000
AFLT,D,20180216,000000,137.3000000
AFLT,D,20180219,000000,137.3500000
AFLT,D,20180220,000000,138.0000000
AFLT,D,20180221,000000,138.7500000
AFLT,D,20180222,000000,140.1000000
AFLT,D,20180226,000000,140.8000000
AFLT,D,20180227,000000,139.1000000
AFLT,D,20180228,000000,141.4500000
AFLT,D,20180301,000000,151.9500000
AFLT,D,20180302,000000,152.0000000
AFLT,D,20180305,000000,150.0000000
AFLT,D,20180306,000000,149.4000000
AFLT,D,20180307,000000,152.0000000
AFLT,D,20180309,000000,157.4500000
AFLT,D,20180312,000000,158.8500000
AFLT,D,20180313,000000,163.7000000
AFLT,D,20180314,000000,161.6000000
AFLT,D,20180315,000000,160.1500000
AFLT,D,20180316,000000,160.5000000
AFLT,D,20180319,000000,159.3500000
AFLT,D,20180320,000000,160.1500000
AFLT,D,20180321,000000,159.7500000
AFLT,D,20180322,000000,156.5000000
AFLT,D,20180323,000000,158.3500000
AFLT,D,20180326,000000,157.2500000
AFLT,D,20180327,000000,154.2500000
AFLT,D,20180328,000000,154.0000000
AFLT,D,20180329,000000,154.2000000
AFLT,D,20180330,000000,155.6000000
AFLT,D,20180402,000000,156.2500000
AFLT,D,20180403,000000,156.2500000
AFLT,D,20180404,000000,156.0500000
AFLT,D,20180405,000000,158.0500000
AFLT,D,20180406,000000,157.3000000
AFLT,D,20180409,000000,144.0000000
AFLT,D,20180410,000000,145.2000000
AFLT,D,20180411,000000,143.5000000
AFLT,D,20180412,000000,147.0500000
AFLT,D,20180413,000000,144.8500000
AFLT,D,20180416,000000,145.4000000
AFLT,D,20180417,000000,147.3000000
AFLT,D,20180418,000000,153.5500000
AFLT,D,20180419,000000,150.9500000
AFLT,D,20180420,000000,149.4000000
AFLT,D,20180423,000000,148.5000000
AFLT,D,20180424,000000,146.6000000
AFLT,D,20180425,000000,144.4500000
AFLT,D,20180426,000000,145.6000000
AFLT,D,20180427,000000,144.3000000
AFLT,D,20180428,000000,144.9000000
AFLT,D,20180430,000000,144.0000000
AFLT,D,20180502,000000,147.3000000
AFLT,D,20180503,000000,144.2000000
AFLT,D,20180504,000000,141.6500000
AFLT,D,20180507,000000,141.9000000
AFLT,D,20180508,000000,140.4000000
AFLT,D,20180510,000000,139.8000000
AFLT,D,20180511,000000,137.5000000
AFLT,D,20180514,000000,136.1500000
AFLT,D,20180515,000000,138.0000000
AFLT,D,20180516,000000,137.9500000
AFLT,D,20180517,000000,137.9500000
AFLT,D,20180518,000000,136.7500000
AFLT,D,20180521,000000,136.2000000
AFLT,D,20180522,000000,135.0000000
AFLT,D,20180523,000000,132.5500000
AFLT,D,20180524,000000,132.7000000
AFLT,D,20180525,000000,132.2000000
AFLT,D,20180528,000000,131.5500000
AFLT,D,20180529,000000,131.8500000
AFLT,D,20180530,000000,139.8500000
AFLT,D,20180531,000000,140.8000000
AFLT,D,20180601,000000,139.6500000
AFLT,D,20180604,000000,137.1000000
AFLT,D,20180605,000000,139.2500000
AFLT,D,20180606,000000,141.3000000
AFLT,D,20180607,000000,145.0000000
AFLT,D,20180608,000000,143.9000000
AFLT,D,20180609,000000,144.3500000
AFLT,D,20180611,000000,142.7000000
AFLT,D,20180613,000000,144.0500000
AFLT,D,20180614,000000,143.5500000
AFLT,D,20180615,000000,140.5000000
AFLT,D,20180618,000000,139.6500000
AFLT,D,20180619,000000,138.0000000
AFLT,D,20180620,000000,141.0000000
AFLT,D,20180621,000000,140.5500000
AFLT,D,20180622,000000,140.5500000
AFLT,D,20180625,000000,140.7500000
AFLT,D,20180626,000000,140.6500000
AFLT,D,20180627,000000,141.1500000
AFLT,D,20180628,000000,139.8000000
AFLT,D,20180629,000000,139.8000000
AFLT,D,20180702,000000,140.1500000
AFLT,D,20180703,000000,143.0500000
AFLT,D,20180704,000000,140.0000000
AFLT,D,20180705,000000,129.2000000
AFLT,D,20180706,000000,129.5500000
AFLT,D,20180709,000000,128.3000000
AFLT,D,20180710,000000,126.5500000
AFLT,D,20180711,000000,124.3000000
AFLT,D,20180712,000000,124.8000000
AFLT,D,20180713,000000,123.2500000
AFLT,D,20180716,000000,123.0000000
AFLT,D,20180717,000000,124.2500000
AFLT,D,20180718,000000,123.0000000
AFLT,D,20180719,000000,121.0000000
AFLT,D,20180720,000000,121.4500000
AFLT,D,20180723,000000,123.8000000
AFLT,D,20180724,000000,122.1500000
AFLT,D,20180725,000000,121.3000000
AFLT,D,20180726,000000,122.7000000
AFLT,D,20180727,000000,122.2000000
AFLT,D,20180730,000000,121.7000000
AFLT,D,20180731,000000,122.9500000
AFLT,D,20180801,000000,121.0000000
AFLT,D,20180802,000000,116.0000000
AFLT,D,20180803,000000,118.1000000
AFLT,D,20180806,000000,114.3000000
AFLT,D,20180807,000000,114.2500000
AFLT,D,20180808,000000,111.8500000
AFLT,D,20180809,000000,109.7000000
AFLT,D,20180810,000000,105.0000000
AFLT,D,20180813,000000,105.7500000
AFLT,D,20180814,000000,107.2500000
AFLT,D,20180815,000000,107.4000000
AFLT,D,20180816,000000,110.5000000
AFLT,D,20180817,000000,109.0000000
AFLT,D,20180820,000000,108.9500000
AFLT,D,20180821,000000,108.3500000
AFLT,D,20180822,000000,108.6000000
AFLT,D,20180823,000000,105.6500000
AFLT,D,20180824,000000,104.4500000
AFLT,D,20180827,000000,106.2000000
AFLT,D,20180828,000000,106.5500000
AFLT,D,20180829,000000,111.8000000
AFLT,D,20180830,000000,115.5000000
AFLT,D,20180831,000000,115.5000000
AFLT,D,20180903,000000,114.5500000
AFLT,D,20180904,000000,112.7500000
AFLT,D,20180905,000000,111.5000000
AFLT,D,20180906,000000,108.1000000
AFLT,D,20180907,000000,108.5500000
AFLT,D,20180910,000000,106.5000000
AFLT,D,20180911,000000,105.1000000
AFLT,D,20180912,000000,107.2000000
AFLT,D,20180913,000000,107.1000000
AFLT,D,20180914,000000,105.7500000
AFLT,D,20180917,000000,106.0500000
AFLT,D,20180918,000000,109.1500000
AFLT,D,20180919,000000,111.4000000
AFLT,D,20180920,000000,111.0000000
AFLT,D,20180921,000000,111.0000000
AFLT,D,20180924,000000,108.9500000
AFLT,D,20180925,000000,106.6500000
AFLT,D,20180926,000000,106.7000000
AFLT,D,20180927,000000,107.0500000
AFLT,D,20180928,000000,106.5500000
AFLT,D,20181001,000000,106.2000000
AFLT,D,20181002,000000,106.4000000
AFLT,D,20181003,000000,107.1000000
AFLT,D,20181004,000000,106.4000000
AFLT,D,20181005,000000,104.6500000
AFLT,D,20181008,000000,102.6500000
AFLT,D,20181009,000000,102.1000000
AFLT,D,20181010,000000,102.1500000
AFLT,D,20181011,000000,100.9000000
AFLT,D,20181012,000000,102.0000000
AFLT,D,20181015,000000,100.1500000
AFLT,D,20181016,000000,99.0000000
AFLT,D,20181017,000000,98.0000000
AFLT,D,20181018,000000,96.0000000
AFLT,D,20181019,000000,95.5000000
AFLT,D,20181022,000000,92.4000000
AFLT,D,20181023,000000,92.3000000
AFLT,D,20181024,000000,92.9000000
AFLT,D,20181025,000000,91.8500000
AFLT,D,20181026,000000,91.6000000
AFLT,D,20181029,000000,94.0500000
AFLT,D,20181030,000000,98.2500000
AFLT,D,20181031,000000,97.2500000
AFLT,D,20181101,000000,96.8800000
AFLT,D,20181102,000000,101.7800000
AFLT,D,20181106,000000,102.4000000
AFLT,D,20181107,000000,100.6000000
AFLT,D,20181108,000000,98.5000000
AFLT,D,20181109,000000,95.1400000
AFLT,D,20181112,000000,96.9000000
AFLT,D,20181113,000000,97.4000000
AFLT,D,20181114,000000,103.3000000
AFLT,D,20181115,000000,102.7400000
AFLT,D,20181116,000000,101.2000000
AFLT,D,20181119,000000,98.7200000
AFLT,D,20181120,000000,102.2000000
AFLT,D,20181121,000000,108.8000000
AFLT,D,20181122,000000,109.9000000
AFLT,D,20181123,000000,113.7400000
AFLT,D,20181126,000000,110.9000000
AFLT,D,20181127,000000,113.2800000
AFLT,D,20181128,000000,113.6000000
AFLT,D,20181129,000000,113.1400000
AFLT,D,20181130,000000,114.4000000
AFLT,D,20181203,000000,111.8400000
AFLT,D,20181204,000000,106.7000000
AFLT,D,20181205,000000,107.8000000
AFLT,D,20181206,000000,106.4400000
AFLT,D,20181207,000000,103.7000000
AFLT,D,20181210,000000,101.0200000
AFLT,D,20181211,000000,102.7200000
AFLT,D,20181212,000000,101.8000000
AFLT,D,20181213,000000,102.0000000
AFLT,D,20181214,000000,102.1000000
AFLT,D,20181217,000000,101.0400000
AFLT,D,20181218,000000,101.6000000
AFLT,D,20181219,000000,102.0000000
AFLT,D,20181220,000000,102.0200000
AFLT,D,20181221,000000,102.2000000
AFLT,D,20181224,000000,102.1000000
AFLT,D,20181225,000000,100.8000000
AFLT,D,20181226,000000,101.0200000
AFLT,D,20181227,000000,100.5000000
AFLT,D,20181228,000000,101.0000000
AFLT,D,20181229,000000,101.2600000
Loading

0 comments on commit eef0a63

Please sign in to comment.