def test_fmt_vector_list(): from ezdxf.math import Vec3 l = [Vec3(), (1.0, 2.0, 3.0)] r = list(_fmt_list(l)) assert r[0] == "(0.0, 0.0, 0.0)," assert r[1] == "(1.0, 2.0, 3.0),"
def test_fmt_float_list(): l = [1., 2., 3.] r = list(_fmt_list(l)) assert r[0] == '1.0,' assert r[1] == '2.0,' assert r[2] == '3.0,'
def test_fmt_int_list(): l = [1, 2, 3] r = list(_fmt_list(l)) assert r[0] == '1,' assert r[1] == '2,' assert r[2] == '3,'
def test_fmt_float_list(): l = [1.0, 2.0, 3.0] r = list(_fmt_list(l)) assert r[0] == "1.0," assert r[1] == "2.0," assert r[2] == "3.0,"
def test_fmt_int_list(): l = [1, 2, 3] r = list(_fmt_list(l)) assert r[0] == "1," assert r[1] == "2," assert r[2] == "3,"
def test_fmt_vector_list(): from ezdxf.math import Vector l = [Vector(), (1., 2., 3.)] r = list(_fmt_list(l)) assert r[0] == '(0.0, 0.0, 0.0),' assert r[1] == '(1.0, 2.0, 3.0),'