def _(): assert mf.make_matrix([['1', 2, 3.0, '4.0'], [6, '1', 7.0, '8.6'], ['3', '2', 1, -5], [10, 11, 12.0, '-13.2']]) == [[1.0, 2.0, 3.0, 4.0], [6.0, 1.0, 7.0, 8.6], [3.0, 2.0, 1.0, -5.0], [10.0, 11.0, 12.0, -13.2]]
def _(): assert mf.make_matrix([['1', 2, 3.0, '4.0', 5], [1, '9', '-8', 3, 1.0], [3, 3, 3, 3, 3], [-9, 7, 5, 3, 1.12], ['3.33', 6.2, -1, 9, 9]]) == [[1.0, 2.0, 3.0, 4.0, 5.0], [1.0, 9.0, -8.0, 3.0, 1.0], [3.0, 3.0, 3.0, 3.0, 3.0], [-9.0, 7.0, 5.0, 3.0, 1.12], [3.33, 6.2, -1.0, 9.0, 9.0]]
def _(): assert mf.make_matrix([['1', 2], [3.0, '4.0']]) == [[1.0, 2.0], [3.0, 4.0]]
def _(): assert mf.make_matrix([['1', 2, 3.0], ['4.0', 5, '6'], [7.0, '8', '9.0']]) == [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]
def _(): mf.make_matrix([])