예제 #1
0
    def test_average_word_length( self ):

        ideal_average = 3
        average = exercises.average_word_length( 'data/the-dream.md' )

        self.assertEqual( average, ideal_average )
예제 #2
0
    def test_average_word_length( self ):

        ideal_average = 3
        average = exercises.average_word_length( 'data/the-dream.md' )

        self.assertEqual( average, ideal_average )