mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-01 03:07:43 +00:00
c2b33a8320
- 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.
38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
|
<PackageReference Include="xunit" Version="2.9.2" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Include mock types -->
|
|
<Compile Include="Mocks\*.cs" />
|
|
<!-- Include test files -->
|
|
<Compile Include="**\*.Tests.cs" />
|
|
<Compile Include="..\lib\**\*.Quantower.Tests.cs" />
|
|
<!-- Include core library types -->
|
|
<Compile Include="..\lib\core\**\*.cs" Exclude="..\lib\core\**\*.Tests.cs" />
|
|
<!-- Include trends implementations -->
|
|
<Compile Include="..\lib\trends\**\*.cs" Exclude="..\lib\trends\**\*.Tests.cs;..\lib\trends\**\*.Validation.Tests.cs" />
|
|
<!-- Include IndicatorExtensions -->
|
|
<Compile Include="IndicatorExtensions.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|