Files
QuanTAlib/lib/QuanTAlib.Tests.csproj
T
Miha Kralj c2b33a8320 Add unit tests for various indicators and update project file
- Implemented unit tests for the following indicators:
  - KAMA (Kaufman Adaptive Moving Average)
  - SMA (Simple Moving Average)
  - T3 (Tillson T3 Moving Average)
  - TEMA (Triple Exponential Moving Average)
  - TRIMA (Triangular Moving Average)
  - WMA (Weighted Moving Average)

- Each test class includes tests for constructor defaults, history depth, short name, initialization, processing updates, and source type handling.

- Updated the Quantower.Tests.csproj to include all new test files in the lib directory.
2025-12-08 11:40:21 -08:00

45 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);CS8892</NoWarn>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.7.0" />
<PackageReference Include="TALib.NETCore" Version="0.5.0" />
<PackageReference Include="Tulip.NETCore" Version="0.8.0.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
<Using Include="QuanTAlib" />
<Using Include="System.Collections" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="quantalib.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.Tests.cs" Exclude="**\*.Quantower.Tests.cs" />
</ItemGroup>
<ItemGroup>
<None Include="feeds\csv\daily_IBM.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>daily_IBM.csv</Link>
</None>
</ItemGroup>
</Project>