mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-08 05:57:43 +00:00
3cc2726654
- Updated RsiIndicatorTests to ensure proper initialization and state checks. - Added new tests for Rsx, Vel, and Adosc indicators to validate behavior under iterative corrections and edge cases (NaN, Infinity). - Enhanced Bessel indicator tests and implementation with consistent formatting. - Improved Ema and Pwma implementations by ensuring proper handling of values. - Introduced mock classes for charting to facilitate testing without dependencies. - Ensured all indicators produce consistent results across different modes of operation. - Cleaned up code formatting and added missing commas for better readability.
15 lines
410 B
C#
15 lines
410 B
C#
// Mock types for TradingPlatform.BusinessLayer.Chart to enable testing
|
|
// These are minimal implementations for unit testing purposes only
|
|
|
|
namespace TradingPlatform.BusinessLayer.Chart;
|
|
|
|
/// <summary>
|
|
/// Coordinates converter interface
|
|
/// </summary>
|
|
public interface IChartWindowCoordinatesConverter
|
|
{
|
|
DateTime GetTime(int x);
|
|
double GetChartX(DateTime time);
|
|
double GetChartY(double value);
|
|
}
|