Skip to content

Commit 707c2a2

Browse files
committed
Рефакторинг тестов
1 parent e20d242 commit 707c2a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Tests/MathCore.Tests/Interpolation/InterpolatorNDLinearTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ public class InterpolatorNDLinearTests
1111

1212
public TestContext? TestContext { get; set; }
1313

14-
private FileInfo DataFile
14+
private static FileInfo DataFile
1515
{
1616
get
1717
{
18-
var base_dir = AppDomain.CurrentDomain.BaseDirectory;
19-
var full_path = Path.Combine(base_dir, __DataFilePath);
18+
var full_path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, __DataFilePath);
2019
var file = new FileInfo(full_path);
2120

2221
return file.ThrowIfNotFound(FullPathInMessage: true);

0 commit comments

Comments
 (0)