aboutsummaryrefslogtreecommitdiff
path: root/bestflags/steering_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'bestflags/steering_test.py')
-rw-r--r--bestflags/steering_test.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/bestflags/steering_test.py b/bestflags/steering_test.py
new file mode 100644
index 00000000..c538d5fb
--- /dev/null
+++ b/bestflags/steering_test.py
@@ -0,0 +1,29 @@
+"""Steering stage unittest."""
+
+__author__ = 'yuhenglong@google.com (Yuheng Long)'
+
+import unittest
+
+import steering
+
+
+class SteeringTest(unittest.TestCase):
+ """This class test the Steering class.
+
+ This steering algorithm should stop either it has generated a certain number
+ of generations or the generation has no further improvement.
+ """
+
+ def setUp(self):
+ pass
+
+ def testGeneration(self):
+ """"Test proper termination for a number of generations."""
+ pass
+
+ def testImprove(self):
+ """"Test proper termination for no improvement between generations."""
+ pass
+
+if __name__ == '__main__':
+ unittest.main()