Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_vertically_returns_correct_result(self):
args = {'filename': 'data/ex2.dat', 'title': None, 'width': 50,
'format': '{:<5.2f}', 'suffix': '', 'no_labels': False,
'color': None, 'vertical': True, 'stacked': False,
'different_scale': False, 'calendar': False, 'start_dt': None,
'custom_tick': '', 'delim': '', 'verbose': False,
'version': False}
value = 2.0
num_blocks = 2
val_min = 2.0
color = None
result = tg.vertically(value, num_blocks, val_min, color, args)
assert result == [('▇',), ('▇',)]