diff --git a/test/Qwack.Math.Tests/Random/ConstantRandomFacts.cs b/test/Qwack.Math.Tests/Random/ConstantRandomFacts.cs index 017912ef8..a5b64a4b9 100644 --- a/test/Qwack.Math.Tests/Random/ConstantRandomFacts.cs +++ b/test/Qwack.Math.Tests/Random/ConstantRandomFacts.cs @@ -19,7 +19,7 @@ public class ConstantRandomFacts [Fact] public void TestBlockGeneration() { - var block = new PathBlock(64, 1, 10, 0); + var block = new PathBlock(64, 1, 10, 0, 0); var retVal = 0.5; var gen = new Constant(retVal); var fetCollection = new FeatureCollection(); diff --git a/test/Qwack.Math.Tests/Random/SobolFacts.cs b/test/Qwack.Math.Tests/Random/SobolFacts.cs index bc91097d9..d9ed22be4 100644 --- a/test/Qwack.Math.Tests/Random/SobolFacts.cs +++ b/test/Qwack.Math.Tests/Random/SobolFacts.cs @@ -48,7 +48,7 @@ public void SmallDimsWorks() [Fact] public void TestBlockGeneration() { - var block = new PathBlock(512, 1, 50, 0); + var block = new PathBlock(512, 1, 50, 0, 0); var gen = new SobolPathGenerator(new SobolDirectionNumbers(s_directionNumbers), 0); var fetCollection = new FeatureCollection(); var engine = new FakeEngine(); @@ -99,6 +99,8 @@ public class FakeEngine : IEngineFeature, ITimeStepsFeature, IPathMappingFeature public int RoundedNumberOfPaths => throw new NotImplementedException(); + public bool CompactMemoryMode => throw new NotImplementedException(); + public void AddDate(DateTime date) => throw new NotImplementedException(); public void AddDates(IEnumerable dates) => throw new NotImplementedException(); diff --git a/test/Qwack.MonteCarlo.Test/Payoffs/Helpers.cs b/test/Qwack.MonteCarlo.Test/Payoffs/Helpers.cs index 7de24c7ea..d942c91f4 100644 --- a/test/Qwack.MonteCarlo.Test/Payoffs/Helpers.cs +++ b/test/Qwack.MonteCarlo.Test/Payoffs/Helpers.cs @@ -32,7 +32,7 @@ public static Mock GetFeatureCollection() public static IPathBlock GetBlock(int nSteps) { - var b = new PathBlock(_nPaths, 2, nSteps, 0); + var b = new PathBlock(_nPaths, 2, nSteps, 0, 0); for (var i = 0; i < _nPaths; i += Vector.Count) {