from day_14.script import convert_to_bin, count_ones, get_row_inputs


# def test_convert_to_bin():
#     inputs = 'a0c2017'
#     res = convert_to_bin(inputs)
#     assert res == '1010000011000010000000010111'
#     res = count_ones(res)
#     assert res == 9


# def test_get_row_inputs():
#     inputs = 'flqrgnkx'
#     res = get_row_inputs(inputs)
#     assert res == 8108