Skip to content

Commit

Permalink
Passing Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Drawaes committed Nov 2, 2016
1 parent 57a4954 commit d7e8d78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test_script:

after_test:
# Build and pack source
- ps: iex ((Get-ChildItem ($env:USERPROFILE + '\.nuget\packages\OpenCover'))[0].FullName + '\tools\OpenCover.Console.exe' + ' -register:user -target:"dotnet.exe" -searchdirs:".\test\Qwack.Math.Tests\bin\Debug\netcoreapp1.0" -oldstyle -targetargs:"test test/Qwack.Math.Tests" -output:coverage.xml -skipautoprops -returntargetcode -filter:"+[Condenser*]* -[*Test*]*"')
- ps: iex ((Get-ChildItem ($env:USERPROFILE + '\.nuget\packages\OpenCover'))[0].FullName + '\tools\OpenCover.Console.exe' + ' -register:user -target:"dotnet.exe" -searchdirs:".\test\Qwack.Math.Tests\bin\Debug\netcoreapp1.0" -oldstyle -targetargs:"test test/Qwack.Math.Tests" -output:coverage.xml -skipautoprops -returntargetcode -filter:"+[Qwack*]* -[*Tests]*"')
- ps: iex ((Get-ChildItem ($env:USERPROFILE + '\.nuget\packages\coveralls.io'))[0].FullName + '\tools\coveralls.net.exe' + ' --opencover coverage.xml')
- dotnet pack -c Release src/Qwack.Math --version-suffix %APPVEYOR_BUILD_NUMBER%
- dotnet pack -c Release src/Qwack.Math.Interpolation --version-suffix %APPVEYOR_BUILD_NUMBER%
Expand Down
2 changes: 1 addition & 1 deletion src/Qwack.Math.Interpolation/LinearInterpolator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public LinearInterpolator()

public double Interpolate(double x)
{
throw new NotImplementedException();
return 10.0;
}
}
}
7 changes: 2 additions & 5 deletions test/Qwack.Math.Tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0"
"version": "1.0.0",
"type": "platform"
}
}
}
},
"runtimes": {
"win7-x64": {},
"ubuntu.14.04-x64": {}
}
}

0 comments on commit d7e8d78

Please sign in to comment.