コード例 #1
0
    def eval_num_one (self) :
	v = 1
	val = eval_num(v)
	self.assert_(val == [v,1])
コード例 #2
0
    def eval_num_even (self) :
	v = 2
	val = eval_num(v)
	self.assert_(val == [v,2])
コード例 #3
0
    def eval_num_odd (self) :
	v = 3
	val = eval_num(v)
	self.assert_(val == [v,8])
コード例 #4
0
    	def test_eval_num_one (self) :
		v = 1
		val = eval_num(v)
		self.assert_(val == [2,2])
コード例 #5
0
    	def test_eval_num_even (self) :
		v = 2
		val = eval_num(v)
		self.assert_(val == [1,1])
コード例 #6
0
    	def test_eval_num_odd (self) :
		v = 3
		val = eval_num(v)
		self.assert_(val == [5,2])