Skip to content

Commit 841ba3d

Browse files
committed
Test calculate_one_moving_and_one_stationary
Add tests and images for calculate_one_moving_and_one_stationary in extrapolated intersection. This is at the same rate of 16 tests per func (16 images and 16 .grf files) * pygorithm/geometry/extrapolated_intersection.py - change to invalid return values so the tests fail as expected * tests/test_geometry.py - add tests for an additional function + imgs/test_geometry/test_extrapolated_intersection/(many) - test imgs.
1 parent f044a65 commit 841ba3d

File tree

34 files changed

+2843
-5
lines changed

34 files changed

+2843
-5
lines changed
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
;This file was created by Graph (http://www.padowan.dk)
2+
;Do not change this file from other programs.
3+
[Graph]
4+
Version = 4.4.2.543
5+
MinVersion = 2.5
6+
OS = Windows NT 6.2
7+
8+
[Axes]
9+
xMin = -0.6
10+
xMax = 6.6
11+
xTickUnit = 1
12+
xGridUnit = 1
13+
xAutoTick = 0
14+
yMin = -0.4
15+
yMax = 4.4
16+
yTickUnit = 1
17+
yGridUnit = 1
18+
yAutoTick = 0
19+
AxesColor = clBlue
20+
GridColor = 0x00FF9999
21+
NumberFont = Times New Roman,16,clBlack
22+
LabelFont = Times New Roman,16,clBlack,B
23+
ShowLegend = 0
24+
Radian = 1
25+
LegendPlacement = 0
26+
LegendPos = 1.24145785876993,3.21633085896076
27+
28+
[PointSeries1]
29+
FillColor = clBlack
30+
LineColor = clBlack
31+
Size = 2
32+
Style = 7
33+
LineStyle = 0
34+
LabelPosition = 1
35+
PointCount = 2
36+
Points = 0,1;0,3;
37+
LegendText = Moving Line Point 1 (extrapolated)
38+
39+
[PointSeries2]
40+
FillColor = clBlack
41+
LineColor = clBlack
42+
Size = 2
43+
Style = 7
44+
LineStyle = 0
45+
LabelPosition = 1
46+
PointCount = 2
47+
Points = 2,1;2,3;
48+
LegendText = Moving Line Point 2 (extrapolated)
49+
50+
[PointSeries3]
51+
FillColor = clBlack
52+
LineColor = clBlack
53+
Size = 2
54+
Style = 7
55+
LineStyle = 0
56+
LabelPosition = 1
57+
PointCount = 2
58+
Points = 1,2;1,4;
59+
LegendText = Moving Line Point 3 (extrapolated)
60+
61+
[PointSeries4]
62+
FillColor = clBlack
63+
LineColor = clBlack
64+
Size = 2
65+
Style = 7
66+
LineStyle = 0
67+
LabelPosition = 1
68+
PointCount = 2
69+
Points = 1,0;1,2;
70+
LegendText = Moving Line Point 2 (extrapolated)
71+
72+
[PointSeries5]
73+
FillColor = clRed
74+
LineColor = clBlue
75+
Size = 5
76+
Style = 0
77+
LineSize = 2
78+
LineStyle = 0
79+
ShowLabels = 1
80+
LabelPosition = 5
81+
PointCount = 5
82+
Points = 0,1;1,0;2,1;1,2;0,1;
83+
LegendText = Moving Polygon
84+
85+
[PointSeries6]
86+
FillColor = clGreen
87+
LineColor = clLime
88+
Size = 5
89+
Style = 1
90+
LineSize = 2
91+
LineStyle = 0
92+
ShowLabels = 1
93+
LabelPosition = 6
94+
PointCount = 4
95+
Points = 3,1;3,2;4,1;3,1;
96+
LegendText = Stationary Polygon
97+
98+
[PointSeries7]
99+
FillColor = clRed
100+
LineColor = clPurple
101+
Size = 0
102+
Style = 5
103+
LineSize = 2
104+
LineStyle = 1
105+
LabelPosition = 1
106+
PointCount = 2
107+
Points = 1,4;2,3;
108+
LegendText = Moving Line "end" extrapolated
109+
110+
[PointSeries8]
111+
FillColor = clRed
112+
LineColor = clPurple
113+
Size = 0
114+
Style = 5
115+
LineSize = 2
116+
LineStyle = 1
117+
LabelPosition = 1
118+
PointCount = 2
119+
Points = 0,3;1,4;
120+
LegendText = Moving Line "end" extrapolated
121+
122+
[PointSeries9]
123+
FillColor = clRed
124+
LineColor = clPurple
125+
Size = 0
126+
Style = 5
127+
LineSize = 2
128+
LineStyle = 1
129+
LabelPosition = 1
130+
PointCount = 2
131+
Points = 1,2;2,3;
132+
LegendText = Moving Line "end" extrapolated
133+
134+
[PointSeries10]
135+
FillColor = clRed
136+
LineColor = clPurple
137+
Size = 0
138+
Style = 5
139+
LineSize = 2
140+
LineStyle = 1
141+
LabelPosition = 1
142+
PointCount = 2
143+
Points = 0,3;1,2;
144+
LegendText = Moving Line "end" extrapolated
145+
146+
[Data]
147+
TextLabelCount = 0
148+
FuncCount = 0
149+
PointSeriesCount = 10
150+
ShadeCount = 0
151+
RelationCount = 0
152+
OleObjectCount = 0
153+
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
;This file was created by Graph (http://www.padowan.dk)
2+
;Do not change this file from other programs.
3+
[Graph]
4+
Version = 4.4.2.543
5+
MinVersion = 2.5
6+
OS = Windows NT 6.2
7+
8+
[Axes]
9+
xMin = -0.6
10+
xMax = 6.6
11+
xTickUnit = 1
12+
xGridUnit = 1
13+
xAutoTick = 0
14+
yMin = -0.4
15+
yMax = 4.4
16+
yTickUnit = 1
17+
yGridUnit = 1
18+
yAutoTick = 0
19+
AxesColor = clBlue
20+
GridColor = 0x00FF9999
21+
NumberFont = Times New Roman,16,clBlack
22+
LabelFont = Times New Roman,16,clBlack,B
23+
ShowLegend = 0
24+
Radian = 1
25+
LegendPlacement = 0
26+
LegendPos = 1.24145785876993,3.21633085896076
27+
28+
[PointSeries1]
29+
FillColor = clBlack
30+
LineColor = clBlack
31+
Size = 2
32+
Style = 7
33+
LineStyle = 0
34+
LabelPosition = 1
35+
PointCount = 2
36+
Points = 0,1;1,3;
37+
LegendText = Moving Line Point 1 (extrapolated)
38+
39+
[PointSeries2]
40+
FillColor = clBlack
41+
LineColor = clBlack
42+
Size = 2
43+
Style = 7
44+
LineStyle = 0
45+
LabelPosition = 1
46+
PointCount = 2
47+
Points = 2,1;3,3;
48+
LegendText = Moving Line Point 2 (extrapolated)
49+
50+
[PointSeries3]
51+
FillColor = clBlack
52+
LineColor = clBlack
53+
Size = 2
54+
Style = 7
55+
LineStyle = 0
56+
LabelPosition = 1
57+
PointCount = 2
58+
Points = 1,2;2,4;
59+
LegendText = Moving Line Point 3 (extrapolated)
60+
61+
[PointSeries4]
62+
FillColor = clBlack
63+
LineColor = clBlack
64+
Size = 2
65+
Style = 7
66+
LineStyle = 0
67+
LabelPosition = 1
68+
PointCount = 2
69+
Points = 1,0;2,2;
70+
LegendText = Moving Line Point 2 (extrapolated)
71+
72+
[PointSeries5]
73+
FillColor = clRed
74+
LineColor = clBlue
75+
Size = 5
76+
Style = 0
77+
LineSize = 2
78+
LineStyle = 0
79+
ShowLabels = 1
80+
LabelPosition = 5
81+
PointCount = 5
82+
Points = 0,1;1,0;2,1;1,2;0,1;
83+
LegendText = Moving Polygon
84+
85+
[PointSeries6]
86+
FillColor = clGreen
87+
LineColor = clLime
88+
Size = 5
89+
Style = 1
90+
LineSize = 2
91+
LineStyle = 0
92+
ShowLabels = 1
93+
LabelPosition = 6
94+
PointCount = 4
95+
Points = 3,1;3,2;4,1;3,1;
96+
LegendText = Stationary Polygon
97+
98+
[PointSeries7]
99+
FillColor = clRed
100+
LineColor = clPurple
101+
Size = 0
102+
Style = 5
103+
LineSize = 2
104+
LineStyle = 1
105+
LabelPosition = 1
106+
PointCount = 2
107+
Points = 2,4;3,3;
108+
LegendText = Moving Line "end" extrapolated
109+
110+
[PointSeries8]
111+
FillColor = clRed
112+
LineColor = clPurple
113+
Size = 0
114+
Style = 5
115+
LineSize = 2
116+
LineStyle = 1
117+
LabelPosition = 1
118+
PointCount = 2
119+
Points = 1,3;2,4;
120+
LegendText = Moving Line "end" extrapolated
121+
122+
[PointSeries9]
123+
FillColor = clRed
124+
LineColor = clPurple
125+
Size = 0
126+
Style = 5
127+
LineSize = 2
128+
LineStyle = 1
129+
LabelPosition = 1
130+
PointCount = 2
131+
Points = 2,2;3,3;
132+
LegendText = Moving Line "end" extrapolated
133+
134+
[PointSeries10]
135+
FillColor = clRed
136+
LineColor = clPurple
137+
Size = 0
138+
Style = 5
139+
LineSize = 2
140+
LineStyle = 1
141+
LabelPosition = 1
142+
PointCount = 2
143+
Points = 1,3;2,2;
144+
LegendText = Moving Line "end" extrapolated
145+
146+
[Data]
147+
TextLabelCount = 0
148+
FuncCount = 0
149+
PointSeriesCount = 10
150+
ShadeCount = 0
151+
RelationCount = 0
152+
OleObjectCount = 0
153+

0 commit comments

Comments
 (0)