goldenChat base source add

This commit is contained in:
aidev
2026-05-23 15:11:48 +09:00
commit a4ea7762b5
2081 changed files with 1155760 additions and 0 deletions
@@ -0,0 +1,22 @@
/*
* SPDX-License-Identifier: MIT
*/
package ta4jexamples.strategies;
import org.junit.Test;
import ta4jexamples.charting.display.SwingChartDisplayer;
public class RSI2StrategyTest {
@Test
public void test() {
// Disable chart display during tests to prevent windows from popping up
// This works in both headless and non-headless environments
System.setProperty(SwingChartDisplayer.DISABLE_DISPLAY_PROPERTY, "true");
try {
RSI2Strategy.main(null);
} finally {
System.clearProperty(SwingChartDisplayer.DISABLE_DISPLAY_PROPERTY);
}
}
}