def test_max_of_three( self ):
        a, b, c = 10, 20, 40

        max = exercises.max_of_three( a, b, c )
        self.assertEqual( max, c )

        # 2
        d, e, f = 54, 90, 10
        max = exercises.max_of_three( d, e, f )
        self.assertNotEqual( max, f )
Exemple #2
0
    def test_max_of_three( self ):
        a, b, c = 10, 20, 40

        max = exercises.max_of_three( a, b, c )
        self.assertEqual( max, c )

        # 2
        d, e, f = 54, 90, 10
        max = exercises.max_of_three( d, e, f )
        self.assertNotEqual( max, f )