Skip to content

Commit 059ae2f

Browse files
committed
add notes about tests source code directory
1 parent d72336d commit 059ae2f

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
-----------------------------------------------------------------------
2+
StackProf V1.00
3+
4+
notes about sourceCode/tests/
5+
6+
May 30th 2021
7+
-----------------------------------------------------------------------
8+
9+
1) sourceCode/tests includes unit tests about StackProfs features
10+
11+
2 Directory naming convention:
12+
. if the test uses Qt framework, its directory name includes '_Qt_' string
13+
. if the test does not use the Qt framework, its directory name includes '_noQt_' string
14+
15+
3) Test images and other test data are located in this repository:
16+
https://github.com/IPGP/stackprof
17+
18+
4) Content description
19+
.
20+
|-- thirdpartylibs.pri | Common thirdpartylibs root path definition for tests using Qt (
21+
|
22+
|-- Makefile_commonDef | Common thirdpartylibs root path definition for tests using Makefile
23+
|
24+
|
25+
|-- test_noQt_mean_median | Test about mean, median, absolute deviation around, and weigthing feature
26+
|
27+
|-- test_Qt_anyUi | Test just check display of one of .ui
28+
|
29+
|-- test_Qt_convertGeoPoint | Test about converting point from one crs to another and getting WGS84 location (lat, lon)
30+
|
31+
|-- test_Qt_convertTrace | Test about converting trace, using worldfile data and EPSG code
32+
|
33+
|-- test_Qt_exportResults | Test the results export options combinations. On georeferenced and non georeferenced project.
34+
| | If you want to make a stackprof version without GUI, this test is a starting point.
35+
|
36+
|-- test_Qt_landmarkComputation | Test which compute landmarks for different ranges
37+
|
38+
|-- test_Qt_numericPrecisionConversion | Test about formating value with numeric precision
39+
|
40+
|-- test_Qt_orderingBoxAlongRoute | Test that in different use cases, a box is correctly located in the vector container 'along the trace'
41+
|
42+
|-- test_Qt_pixelPicker | Test that getting pixel nearest and with bilinear interpolation works as expected
43+
|
44+
|-- test_Qt_point_relocation_and_projection | Test that a point is correctly perpendicularly projected or not into a segment.
45+
| | This test uses the axis projection (axis change by axis oriention)
46+
|
47+
|-- test_Qt_regressionModel | Test linear regression model computation
48+
|
49+
|-- test_Qt_route_middle_and_distance | Test finding middle of a trace and point at distance from the starting point
50+
|
51+
|-- test_Qt_sync_TFW | Test that the different use cases about error, sync, and not sync world file and EPSG code from different input images set
52+
|
53+
|-- test_Qt_traceMiddle | Test finding middle of a trace
54+
|
55+
|-- test_Qt_valueIsCloseToPowerOfTwo | Test that power of two is correctly found for a range of values
56+
|
57+
|-- test_Qt_ZLIImageBuilder_NaNValueHandled | Test image pyramid level build on image with NaN.
58+
|
59+
|
60+
|-- clean_build-test-directory.sh | script to clean a buid test directory
61+
|
62+
|
63+
`-- tools_noQt_createTestImages | Tools to generate or convert images
64+
|
65+
|-- tool_noQt_generateTestImages | Generates small images with different value types (float, signed 16 bits, etc) with specific values or random
66+
|
67+
`-- tool_noQt_imageFormatConverter | Convert RGB images to float images, indicating the float values to use from specific RGB colors
68+
|
69+
`-- scripts_to_convert_testImages | various scripts used to convert RGB test images into input images with float or byte data type for stackprof tests
70+
71+
[ end of document ]

0 commit comments

Comments
 (0)