def test_grid_Proportional_7(self): self.assertEqual( grid_to_str( grid(s='', default=' ', intra=1, proportional=True, width=None, align='c')), dedent('''\ <> <> <> <> <> <> <> <> <> <> '''))
def test_grid_NonProportional_3(self): self.assertEqual( grid_to_str( grid(s='abc defghi!A', default=' ', intra=1, proportional=False, width=80, align='c')), dedent('''\ < > < * * * * * * *** > < * * * * * * * * > < *** * ** *** ** * *** * **** * ** ** * * * > < * ** * * * ** * * *** * * ** * * * ***** > < **** * * * * * ***** * * * * * * * * * > < * * * * * * * * * * * ** * * * * * > < **** *** *** **** *** * ** * * * *** * * * > < * > < *** > '''))