mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 20:18:05 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -359,7 +359,7 @@ public class IlrsTests
|
||||
// Feed increasing prices
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
ilrs.Update(new TValue(DateTime.UtcNow, 100.0 + i * 10));
|
||||
ilrs.Update(new TValue(DateTime.UtcNow, 100.0 + (i * 10)));
|
||||
}
|
||||
|
||||
// Integral should be well above starting value
|
||||
@@ -373,7 +373,7 @@ public class IlrsTests
|
||||
// Feed decreasing prices
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
ilrs.Update(new TValue(DateTime.UtcNow, 200.0 - i * 10));
|
||||
ilrs.Update(new TValue(DateTime.UtcNow, 200.0 - (i * 10)));
|
||||
}
|
||||
|
||||
// Integral should be below starting value
|
||||
|
||||
Reference in New Issue
Block a user