<s> '''<STR_LIT>''' <EOL> import unittest <EOL> from kivy . uix . gridlayout import GridLayout <EOL> class UixGridLayoutTest ( unittest . TestCase ) : <EOL> def test_gridlayout_get_max_widgets_cols_rows_None ( self ) : <EOL> gl = GridLayout ( ) <EOL> expected = None <EOL> value = gl . get_max_widgets ( ) <EOL> self . assertEqual ( expected , value ) <EOL> def test_gridlayout_get_max_widgets_rows_None ( self ) : <EOL> gl = GridLayout ( ) <EOL> gl . cols = <NUM_LIT:1> <EOL> expected = None <EOL> value = gl . get_max_widgets ( ) <EOL> self . assertEqual ( expected , value ) <EOL> def test_gridlayout_get_max_widgets_cols_None ( self ) : <EOL> gl = GridLayout ( ) <EOL> gl . rows = <NUM_LIT:1> <EOL> expected = None <EOL> value = gl . get_max_widgets ( ) <EOL> self . assertEqual ( expected , value ) <EOL> def test_gridlayout_get_max_widgets_with_rows_cols ( self ) : <EOL> gl = GridLayout ( ) <EOL> gl . rows = <NUM_LIT:5> <EOL> gl . cols = <NUM_LIT:3> <EOL> expected = <NUM_LIT:15> <EOL> value = gl . get_max_widgets ( ) <EOL> self . assertEqual ( expected , value ) </s>
