mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 21:18:04 +00:00
fix: relax BBB streaming/batch tolerance for cross-platform FP precision
This commit is contained in:
@@ -63,8 +63,8 @@ public sealed class BbbValidationTests : IDisposable
|
|||||||
int start = Math.Max(0, src.Length - 200);
|
int start = Math.Max(0, src.Length - 200);
|
||||||
for (int i = start; i < src.Length; i++)
|
for (int i = start; i < src.Length; i++)
|
||||||
{
|
{
|
||||||
Assert.Equal(batchSeries[i].Value, streamValues[i], 9);
|
Assert.Equal(batchSeries[i].Value, streamValues[i], 8);
|
||||||
Assert.Equal(batchSeries[i].Value, spanOutput[i], 9);
|
Assert.Equal(batchSeries[i].Value, spanOutput[i], 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
_output.WriteLine("BBB validation: streaming, batch, and span outputs agree.");
|
_output.WriteLine("BBB validation: streaming, batch, and span outputs agree.");
|
||||||
|
|||||||
Reference in New Issue
Block a user