* 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
22 lines
445 B
C#
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
|