-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtest_examples.py
52 lines (32 loc) · 1.1 KB
/
test_examples.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import amplpy
class TestExamples(unittest.TestCase):
"""Test examples."""
def test_first_example(self):
import first_example
first_example.main(1, [None])
def test_options_example(self):
import options_example
options_example.main(1, [None])
def test_dataframe_example(self):
import dataframe_example
dataframe_example.main(1, [None])
def test_multidimensional_example(self):
import multidimensional_example
multidimensional_example.main(1, [None])
def test_dietmodel_example(self):
import diet_model
diet_model.main(1, [None])
def test_efficient_frontier_example(self):
import efficient_frontier
efficient_frontier.main(1, [None])
def test_trackingmodel_example(self):
import tracking_model
tracking_model.main(1, [None])
def test_location_transportation(self):
import location_transportation
location_transportation.main(1, [None])
if __name__ == "__main__":
unittest.main()