python: add x bit to tests
This commit is contained in:
1
examples/tests/cp_model_test.py
Normal file → Executable file
1
examples/tests/cp_model_test.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Tests for ortools.sat.python.cp_model."""
|
||||
|
||||
import unittest
|
||||
|
||||
1
examples/tests/dual_loading.py
Normal file → Executable file
1
examples/tests/dual_loading.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
from ortools.linear_solver import pywraplp
|
||||
|
||||
|
||||
1
examples/tests/issue117.py
Normal file → Executable file
1
examples/tests/issue117.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from collections import namedtuple
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
|
||||
|
||||
1
examples/tests/issue1231.py
Normal file → Executable file
1
examples/tests/issue1231.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010-2021 Google
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
||||
1
examples/tests/issue128.py
Normal file → Executable file
1
examples/tests/issue128.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
|
||||
def test_v0():
|
||||
|
||||
1
examples/tests/issue2.py
Normal file → Executable file
1
examples/tests/issue2.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
|
||||
# Control-C test. Hit Control-C during execution of this program.
|
||||
|
||||
1
examples/tests/issue260.py
Normal file → Executable file
1
examples/tests/issue260.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#from ortools.constraint_solver import pywrapcp
|
||||
from ortools.sat.python import cp_model
|
||||
|
||||
|
||||
1
examples/tests/issue3.py
Normal file → Executable file
1
examples/tests/issue3.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010 Pierre Schaus pschaus@gmail.com
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
||||
1
examples/tests/issue4.py
Normal file → Executable file
1
examples/tests/issue4.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
|
||||
|
||||
|
||||
1
examples/tests/issue46.py
Normal file → Executable file
1
examples/tests/issue46.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010-2021 Google LLC
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
||||
1
examples/tests/issue5.py
Normal file → Executable file
1
examples/tests/issue5.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010 Hakan Kjellerstrand hakank@bonetmail.com
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the 'License');
|
||||
|
||||
1
examples/tests/issue62.py
Normal file → Executable file
1
examples/tests/issue62.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from ortools.constraint_solver import pywrapcp
|
||||
|
||||
|
||||
|
||||
1
examples/tests/lp_test.py
Normal file → Executable file
1
examples/tests/lp_test.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010-2021 Google LLC
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
||||
0
examples/tests/pywrapcp_test.py
Normal file → Executable file
0
examples/tests/pywrapcp_test.py
Normal file → Executable file
0
examples/tests/pywrapinit_test.py
Normal file → Executable file
0
examples/tests/pywrapinit_test.py
Normal file → Executable file
0
examples/tests/pywraplp_test.py
Normal file → Executable file
0
examples/tests/pywraplp_test.py
Normal file → Executable file
0
examples/tests/pywraprouting_test.py
Normal file → Executable file
0
examples/tests/pywraprouting_test.py
Normal file → Executable file
0
examples/tests/sorted_interval_list_test.py
Normal file → Executable file
0
examples/tests/sorted_interval_list_test.py
Normal file → Executable file
1
examples/tests/test_cp_api.py
Normal file → Executable file
1
examples/tests/test_cp_api.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2010-2021 Google LLC
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
||||
1
examples/tests/test_lp_api.py
Normal file → Executable file
1
examples/tests/test_lp_api.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from google.protobuf import text_format
|
||||
from ortools.linear_solver import pywraplp
|
||||
from ortools.linear_solver import linear_solver_pb2
|
||||
|
||||
1
examples/tests/test_routing_api.py
Normal file → Executable file
1
examples/tests/test_routing_api.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# Various calls to CP api from python to verify they work.
|
||||
'''Test routing API'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user