示例#1
0
文件: tests.py 项目: ericw13/radabo
 def test_get_solution_size_unknown2(self):
     x = getSolutionSize(None, None)
     self.assertEqual(x, "Unknown")
示例#2
0
文件: tests.py 项目: ericw13/radabo
 def test_get_solution_size_unknown1(self):
     x = getSolutionSize(None, self.defaultText)
     self.assertEqual(x, self.defaultText)
示例#3
0
文件: tests.py 项目: ericw13/radabo
 def test_get_solution_size_med(self):
     x = getSolutionSize(5, self.defaultText)
     self.assertEqual(x, "Medium")
示例#4
0
文件: tests.py 项目: ericw13/radabo
 def test_get_solution_size_large(self):
     x = getSolutionSize(13, self.defaultText)
     self.assertEqual(x, "Large")
示例#5
0
文件: tests.py 项目: ericw13/radabo
 def test_get_solution_size_small(self):
     x = getSolutionSize(1, self.defaultText)
     self.assertEqual(x, "Small")