"""
"""
from __future__ import division
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
from .context import auto_width


def test_auto_width():
    raw_table_list = [
        ['asdfdfdfguhfdhghfdgkla', '334\n2', '**la**', '4'],
        ['5', '6', '7', '8']
    ]
    assert auto_width(1.2, 4, raw_table_list) == [25 / 44 * 1.2,
                                                  6 / 44 * 1.2, 9 / 44 * 1.2, 4 / 44 * 1.2]
    return
