mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-09 14:30:56 +00:00
Enhance coding conventions and static analysis setup; update .editorconfig, scanner.sh, and various C# files for improved readability and performance
This commit is contained in:
@@ -96,6 +96,7 @@ public class IndicatorExtensionsTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
|
||||
public void PaintMethods_DoNotThrow_WithValidGraphics()
|
||||
{
|
||||
// This test attempts to verify that paint methods don't crash.
|
||||
@@ -144,5 +145,8 @@ public class IndicatorExtensionsTests
|
||||
|
||||
// Test DrawText
|
||||
IndicatorExtensions.DrawText(indicator, args, "Test Text");
|
||||
|
||||
// Assert that we reached the end without throwing
|
||||
Assert.True(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user