Skip to content

Commit

Permalink
Repairs F# unit tests
Browse files Browse the repository at this point in the history
The F# unit tests were broken in 864f7a4. This commit ensures they work again.

Work for #140
  • Loading branch information
atruskie committed Feb 15, 2018
1 parent f34a4b6 commit 620b644
Show file tree
Hide file tree
Showing 30 changed files with 131 additions and 44 deletions.
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ lib/**/*.exe filter=lfs diff=lfs merge=lfs -text
lib/**/*.dll filter=lfs diff=lfs merge=lfs -text

# assets in tests/Fixtures should generally be in lfs
tests/Fixtures/** filter=lfs diff=lfs merge=lfs -text
tests/Fixtures/**/*.zip filter=lfs diff=lfs merge=lfs -text
tests/Fixtures/**/*.csv filter=lfs diff=lfs merge=lfs -text
tests/Fixtures/**/*.bin filter=lfs diff=lfs merge=lfs -text
tests/Fixtures/**/*.json filter=lfs diff=lfs merge=lfs -text
tests/Fixtures/**/*.png filter=lfs diff=lfs merge=lfs -text
17 changes: 8 additions & 9 deletions src/AED/AED.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props" Condition="Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -54,13 +53,6 @@
</Otherwise>
</Choose>
<Import Project="$(FSharpTargetsPath)" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Util.fs" />
Expand All @@ -70,6 +62,7 @@
<Compile Include="AcousticEventDetection.fs" />
<Compile Include="EventPatternRecog.fs" />
<Compile Include="SpectralPeakTrack.fs" />
<Content Include="App.config" />
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand All @@ -84,7 +77,7 @@
<Private>True</Private>
</ProjectReference>
<Reference Include="FSharp.Core">
<HintPath>..\..\packages\FSharp.Core.4.2.3\lib\net45\FSharp.Core.dll</HintPath>
<HintPath>..\..\packages\FSharp.Core.4.3.4\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="FSharp.PowerPack">
<HintPath>..\..\packages\FSPowerPack.Core.Community.3.0.0.0\lib\Net40\FSharp.PowerPack.dll</HintPath>
Expand Down Expand Up @@ -122,6 +115,12 @@
</Reference>
</ItemGroup>
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
11 changes: 11 additions & 0 deletions src/AED/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-4.4.3.0" newVersion="4.4.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
4 changes: 2 additions & 2 deletions src/AED/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FSharp.Compiler.Tools" version="4.1.29" targetFramework="net462" />
<package id="FSharp.Core" version="4.2.3" targetFramework="net462" />
<package id="FSharp.Compiler.Tools" version="4.1.34" targetFramework="net462" />
<package id="FSharp.Core" version="4.3.4" targetFramework="net462" />
<package id="FSPowerPack.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Core.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Linq.Community" version="3.0.0.0" targetFramework="net462" />
Expand Down
7 changes: 3 additions & 4 deletions src/Acoustics.Shared.FSharp/Acoustics.Shared.FSharp.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props" Condition="Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -72,6 +71,7 @@
<Compile Include="Math.fs" />
<Compile Include="Mutex.fs" />
<Compile Include="Serialization.fs" />
<Content Include="App.config" />
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand All @@ -91,7 +91,7 @@
<HintPath>..\..\packages\AForge.Math.2.2.5\lib\AForge.Math.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core">
<HintPath>..\..\packages\FSharp.Core.4.2.3\lib\net45\FSharp.Core.dll</HintPath>
<HintPath>..\..\packages\FSharp.Core.4.3.4\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="FSharp.PowerPack">
<HintPath>..\..\packages\FSPowerPack.Core.Community.3.0.0.0\lib\Net40\FSharp.PowerPack.dll</HintPath>
Expand Down Expand Up @@ -147,14 +147,13 @@
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" />
</ItemGroup>
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
11 changes: 11 additions & 0 deletions src/Acoustics.Shared.FSharp/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-4.4.3.0" newVersion="4.4.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
4 changes: 2 additions & 2 deletions src/Acoustics.Shared.FSharp/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<package id="Accord.Statistics" version="2.12.0.0" targetFramework="net462" />
<package id="AForge" version="2.2.5" targetFramework="net462" />
<package id="AForge.Math" version="2.2.5" targetFramework="net462" />
<package id="FSharp.Compiler.Tools" version="4.1.29" targetFramework="net462" />
<package id="FSharp.Core" version="4.2.3" targetFramework="net462" />
<package id="FSharp.Compiler.Tools" version="4.1.34" targetFramework="net462" />
<package id="FSharp.Core" version="4.3.4" targetFramework="net462" />
<package id="FSPowerPack.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Core.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Linq.Community" version="3.0.0.0" targetFramework="net462" />
Expand Down
5 changes: 2 additions & 3 deletions src/Acoustics.Shared/Acoustics.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@
<Reference Include="Fasterflect, Version=2.1.3.0, Culture=neutral, PublicKeyToken=38d18473284c1ca7, processorArchitecture=MSIL">
<HintPath>..\..\packages\fasterflect.2.1.3\lib\net40\Fasterflect.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core, Version=4.4.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\FSharp.Core.4.2.3\lib\net45\FSharp.Core.dll</HintPath>
<Private>True</Private>
<Reference Include="FSharp.Core, Version=4.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\FSharp.Core.4.3.4\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="JetBrains.Annotations, Version=11.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
<HintPath>..\..\packages\JetBrains.Annotations.11.0.0\lib\net20\JetBrains.Annotations.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Acoustics.Shared/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="CsvHelper" version="2.16.2.0" targetFramework="net462" />
<package id="DotSpinners" version="1.2.0" targetFramework="net462" />
<package id="fasterflect" version="2.1.3" targetFramework="net462" />
<package id="FSharp.Core" version="4.2.3" targetFramework="net462" />
<package id="FSharp.Core" version="4.3.4" targetFramework="net462" />
<package id="JetBrains.Annotations" version="11.0.0" targetFramework="net462" />
<package id="log4net" version="2.0.8" targetFramework="net462" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net462" />
Expand Down
5 changes: 2 additions & 3 deletions src/AnalysisPrograms/AnalysisPrograms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@
<Reference Include="Equ, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Equ.2.0.2\lib\netstandard1.5\Equ.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core, Version=4.4.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\FSharp.Core.4.2.3\lib\net45\FSharp.Core.dll</HintPath>
<Private>True</Private>
<Reference Include="FSharp.Core, Version=4.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\FSharp.Core.4.3.4\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="FSharp.PowerPack, Version=4.0.0.1, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\FSPowerPack.Core.Community.3.0.0.0\lib\Net40\FSharp.PowerPack.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/AnalysisPrograms/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.4.1.0" newVersion="4.4.1.0" />
<bindingRedirect oldVersion="0.0.0.0-4.4.3.0" newVersion="4.4.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Accord.Statistics" publicKeyToken="fa1a88e29555ccf7" culture="neutral" />
Expand Down
2 changes: 1 addition & 1 deletion src/AnalysisPrograms/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="AForge" version="2.2.5" targetFramework="net462" />
<package id="CsvHelper" version="2.16.2.0" targetFramework="net462" />
<package id="Equ" version="2.0.2" targetFramework="net462" />
<package id="FSharp.Core" version="4.2.3" targetFramework="net462" />
<package id="FSharp.Core" version="4.3.4" targetFramework="net462" />
<package id="FSPowerPack.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Core.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Linq.Community" version="3.0.0.0" targetFramework="net462" />
Expand Down
21 changes: 11 additions & 10 deletions tests/AED.Test/AED.Test.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props" Condition="Exists('..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props')" />
<Import Project="..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props" Condition="Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -55,14 +54,6 @@
</Otherwise>
</Choose>
<Import Project="$(FSharpTargetsPath)" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\FSharp.Compiler.Tools.4.1.29\build\FSharp.Compiler.Tools.props'))" />
<Error Condition="!Exists('..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Common.fs" />
Expand All @@ -73,14 +64,15 @@
<Compile Include="GetAcousticEventsTest.fs" />
<Compile Include="EventPatternRecogTest.fs" />
<Compile Include="SpectralPeakTrackTest.fs" />
<Content Include="App.config" />
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="FsCheck">
<HintPath>..\..\packages\FsCheck.2.10.7\lib\net452\FsCheck.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core">
<HintPath>..\..\packages\FSharp.Core.4.2.3\lib\net45\FSharp.Core.dll</HintPath>
<HintPath>..\..\packages\FSharp.Core.4.3.4\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="FSharp.PowerPack">
<HintPath>..\..\packages\FSPowerPack.Core.Community.3.0.0.0\lib\Net40\FSharp.PowerPack.dll</HintPath>
Expand Down Expand Up @@ -112,6 +104,8 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Net" />
<Reference Include="System.Numerics" />
<Reference Include="System.Reflection">
Expand Down Expand Up @@ -147,6 +141,13 @@
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0\lib\net452\xunit.execution.desktop.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\FSharp.NET.Sdk.1.0.5\build\FSharp.NET.Sdk.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
11 changes: 11 additions & 0 deletions tests/AED.Test/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-4.4.3.0" newVersion="4.4.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
17 changes: 13 additions & 4 deletions tests/AED.Test/Common.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ open System.IO

open Xunit
open System
open System.IO
open System.IO.Compression
open System.Reflection
open QutSensors.AudioAnalysis.AED.GetAcousticEvents
open QutSensors.AudioAnalysis.AED.Util
Expand All @@ -15,11 +17,18 @@ let GParrots_JB2_20090607_173000_wav_minute_3 =
{Dir="GParrots_JB2_20090607-173000.wav_minute_3"; BWthresh=3.0; smallThreshIn=100; smallThreshOut=35}

let testAll f = Seq.iter f [BAC2_20071015_045040; GParrots_JB2_20090607_173000_wav_minute_3]



/// Sets the current directory to be trunk\AudioAnalysis\AED\Test
let matlabPath = @"..\..\..\..\AED\Test\matlab\"
/// Sets the current directory to be the fictures folders where test resources are kept
let matlabPath = @"..\..\..\Fixtures\FSharp\"

// when module opens, unzip asssets
do
let unzip file =
let path = Path.Combine(matlabPath, file)
Directory.Delete(path, true)
ZipFile.ExtractToDirectory(path+ ".zip", matlabPath)
unzip BAC2_20071015_045040.Dir
unzip GParrots_JB2_20090607_173000_wav_minute_3.Dir

let basePath relativePath =
let codeBaseUrl = new Uri(Assembly.GetExecutingAssembly().CodeBase);
Expand Down
4 changes: 2 additions & 2 deletions tests/AED.Test/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FsCheck" version="2.10.7" targetFramework="net462" />
<package id="FSharp.Compiler.Tools" version="4.1.29" targetFramework="net462" />
<package id="FSharp.Core" version="4.2.3" targetFramework="net462" />
<package id="FSharp.Compiler.Tools" version="4.1.34" targetFramework="net462" />
<package id="FSharp.Core" version="4.3.4" targetFramework="net462" />
<package id="FSharp.NET.Sdk" version="1.0.5" targetFramework="net462" />
<package id="FSPowerPack.Community" version="3.0.0.0" targetFramework="net462" />
<package id="FSPowerPack.Core.Community" version="3.0.0.0" targetFramework="net462" />
Expand Down
Loading

0 comments on commit 620b644

Please sign in to comment.