Lines Matching full:100

20     assert calcQuadraticBounds((0, 0), (50, 100), (100, 0)) == (0, 0, 100, 50.0)
21 assert calcQuadraticBounds((0, 0), (100, 0), (100, 100)) == (0.0, 0.0, 100, 100)
25 assert calcCubicBounds((0, 0), (25, 100), (75, 100), (100, 0)) == (
26 (0, 0, 100, 75.0)
28 assert calcCubicBounds((0, 0), (50, 0), (100, 50), (100, 100)) == (
31 100,
32 100,
34 assert calcCubicBounds((50, 0), (0, 100), (100, 100), (50, 0)) == pytest.approx(
40 assert splitLine((0, 0), (100, 100), where=50, isHorizontal=True) == [
42 ((50.0, 50.0), (100, 100)),
44 assert splitLine((0, 0), (100, 100), where=100, isHorizontal=True) == [
45 ((0, 0), (100, 100))
47 assert splitLine((0, 0), (100, 100), where=0, isHorizontal=True) == [
49 ((0, 0), (100, 100)),
51 assert splitLine((0, 0), (100, 100), where=0, isHorizontal=False) == [
53 ((0, 0), (100, 100)),
55 assert splitLine((100, 0), (0, 0), where=50, isHorizontal=False) == [
56 ((100, 0), (50, 0)),
59 assert splitLine((0, 100), (0, 0), where=50, isHorizontal=True) == [
60 ((0, 100), (0, 50)),
63 assert splitLine((0, 100), (100, 100), where=50, isHorizontal=True) == [
64 ((0, 100), (100, 100))
78 (0, 0), (50, 100), (100, 0), where=150, isHorizontal=False
79 ) == [((0, 0), (50, 100), (100, 0))]
81 (0, 0), (50, 100), (100, 0), where=50, isHorizontal=False
82 ) == [((0, 0), (25, 50), (50, 50)), ((50, 50), (75, 50), (100, 0))]
84 (0, 0), (50, 100), (100, 0), where=25, isHorizontal=False
85 ) == [((0, 0), (12.5, 25), (25, 37.5)), ((25, 37.5), (62.5, 75), (100, 0))]
87 splitQuadratic((0, 0), (50, 100), (100, 0), where=25, isHorizontal=True),
91 ((85.3553, 25), (92.6777, 14.64466), (100, -7.10543e-15)),
95 assert splitQuadratic((0, 0), (50, 100), (100, 0), where=50, isHorizontal=True) == [
98 ((50, 50), (75, 50), (100, 0)),
104 (0, 0), (25, 100), (75, 100), (100, 0), where=150, isHorizontal=False
105 ) == [((0, 0), (25, 100), (75, 100), (100, 0))]
107 (0, 0), (25, 100), (75, 100), (100, 0), where=50, isHorizontal=False
110 ((50, 75), (68.75, 75), (87.5, 50), (100, 0)),
113 splitCubic((0, 0), (25, 100), (75, 100), (100, 0), where=25, isHorizontal=True),
117 ((92.5259, 25), (95.202, 17.5085), (97.7062, 9.17517), (100, 1.77636e-15)),
123 assert splitQuadraticAtT((0, 0), (50, 100), (100, 0), 0.5) == [
125 ((50, 50), (75, 50), (100, 0)),
127 assert splitQuadraticAtT((0, 0), (50, 100), (100, 0), 0.5, 0.75) == [
130 ((75, 37.5), (87.5, 25), (100, 0)),
135 assert splitCubicAtT((0, 0), (25, 100), (75, 100), (100, 0), 0.5) == [
137 ((50, 75), (68.75, 75), (87.5, 50), (100, 0)),
139 assert splitCubicAtT((0, 0), (25, 100), (75, 100), (100, 0), 0.5, 0.75) == [
142 ((77.34375, 56.25), (85.9375, 43.75), (93.75, 25), (100, 0)),
156 ([(0, 10), (200, 100)], 0.0, (0, 10)),
157 ([(0, 10), (200, 100)], 0.5, (100, 55)),
158 ([(0, 10), (200, 100)], 1.0, (200, 100)),
159 ([(0, 10), (100, 100), (200, 50)], 0.0, (0, 10)),
160 ([(0, 10), (100, 100), (200, 50)], 0.5, (100, 65.0)),
161 ([(0, 10), (100, 100), (200, 50)], 1.0, (200, 50.0)),
162 ([(0, 10), (100, 100), (200, 100), (300, 0)], 0.0, (0, 10)),
163 ([(0, 10), (100, 100), (200, 100), (300, 0)], 0.5, (150, 76.25)),
164 ([(0, 10), (100, 100), (200, 100), (300, 0)], 1.0, (300, 0)),