steering_test.py revision 16d7a5204e347855b1c3a68c982c22f931a12866
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Steering stage unittest.
6
7Part of the Chrome build flags optimization.
8"""
9
10__author__ = 'yuhenglong@google.com (Yuheng Long)'
11
12import unittest
13
14import steering
15
16
17class SteeringTest(unittest.TestCase):
18  """This class test the Steering class.
19
20  This steering algorithm should stop either it has generated a certain number
21  of generations or the generation has no further improvement.
22  """
23
24  def setUp(self):
25    pass
26
27  def testGeneration(self):
28    """"Test proper termination for a number of generations."""
29    pass
30
31  def testImprove(self):
32    """"Test proper termination for no improvement between generations."""
33    pass
34
35if __name__ == '__main__':
36  unittest.main()
37