style patterns

This commit is contained in:
Miha Kralj
2026-01-25 16:01:45 -08:00
parent 2836f253c4
commit e59665c8f0
399 changed files with 6892 additions and 1323 deletions
+3 -1
View File
@@ -178,7 +178,9 @@ public sealed class ValidationTestData : IDisposable
public ValidationTestData CreateSubset(int count)
{
if (count <= 0 || count > Count)
{
throw new ArgumentOutOfRangeException(nameof(count), count, $"Count must be between 1 and {Count}");
}
return new ValidationTestData(count, DefaultStartPrice, DefaultMu, DefaultSigma, DefaultSeed);
}
@@ -216,4 +218,4 @@ public sealed class ValidationTestData : IDisposable
// No unmanaged resources to dispose
// Implemented for IDisposable pattern compatibility with test fixtures
}
}
}