Files
ortools-clone/cmake/samples/dotnet/LPSample.cs
Mizux Seiha e83cf08ce1 ci: Refactor CMake CI
* Update CMake doc
* Update Docker diagram
* Refactor CI Makefile
* Refactor and Fix <lang>.Dockerfile
* Refactor gh Docker CMake workflow
* gh CMake workflow disable fail-fast
* Remove manylinux
* Add Java samplei, generated using:
    $ mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
    -> com.google.ortools
    -> sample
  note: sample still not use ortools package yet
2020-04-15 15:22:41 +02:00

22 lines
445 B
C#

using System;
using Xunit;
using Google.OrTools.LinearSolver;
namespace Google.OrTools.Tests {
public class LinearSolverTest {
[Theory]
[InlineData(false)]
[InlineData(true)]
public void SolverTest(bool callGC) {
Solver solver = new Solver(
"Solver",
Solver.OptimizationProblemType.CLP_LINEAR_PROGRAMMING);
if (callGC) {
GC.Collect();
}
}
}
} // namespace Google.Sample.Tests