Skip to content

Commit

Permalink
Updated base directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
ncguilbeault committed May 28, 2024
1 parent 8829e88 commit a2c3613
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<ItemGroup>
<PackageReference Include="Bonsai" Version="2.8.3" />
<PackageReference Include="Bonsai.Editor" Version="2.8.2" />
<PackageReference Include="Bonsai.ML.LinearDynamicalSystems" Version="0.2.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
Expand All @@ -19,8 +18,11 @@
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>
<ItemGroup>
<Content Include="ReceptiveFieldSimpleCell/*">
<Content Include="ReceptiveFieldSimpleCellTest/*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Bonsai.ML.LinearDynamicalSystems\Bonsai.ML.LinearDynamicalSystems.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Bonsai.ML.Examples.Tests.ReceptiveFieldSimpleCell;
[TestClass]
public class ReceptiveFieldSimpleCellTest
{
private string basePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ReceptiveFieldSimpleCell");
private string basePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ReceptiveFieldSimpleCellTest");
private int nSamples = 10000;

private void RunProcess(string fileName, string fmtArg)
Expand Down Expand Up @@ -191,12 +191,12 @@ public void CompareResults()
Assert.IsTrue(result);
}

[TestCleanup]
public void Cleanup()
{
if (Directory.Exists(basePath))
{
Directory.Delete(basePath, true);
}
}
// [TestCleanup]
// public void Cleanup()
// {
// if (Directory.Exists(basePath))
// {
// Directory.Delete(basePath, true);
// }
// }
}

0 comments on commit a2c3613

Please sign in to comment.