Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Özgür Ozan Sen
ogs
Commits
0e065fad
Commit
0e065fad
authored
1 year ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[T] addDataToRaster: test step function creation
parent
2bd898bf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Utils/Tests.cmake
+11
-0
11 additions, 0 deletions
Applications/Utils/Tests.cmake
Tests/Data/GeoTools/addDataToRaster/10x10_step.asc
+16
-0
16 additions, 0 deletions
Tests/Data/GeoTools/addDataToRaster/10x10_step.asc
with
27 additions
and
0 deletions
Applications/Utils/Tests.cmake
+
11
−
0
View file @
0e065fad
...
...
@@ -1145,6 +1145,17 @@ AddTest(
10x10_sinxsiny.asc 10x10_sinxsiny.asc
)
AddTest
(
NAME addDataToRaster_10x10_step_function
PATH GeoTools/addDataToRaster/
WORKING_DIRECTORY
${
Data_SOURCE_DIR
}
/GeoTools/addDataToRaster
EXECUTABLE addDataToRaster
EXECUTABLE_ARGS --ll_x 1000 --ll_y 100 --ur_x 1100 --ur_y 200 --function step --scaling_value 1 --offset_value 0 -i
${
Data_SOURCE_DIR
}
/GeoTools/createRaster/10x10.asc -o
${
Data_BINARY_DIR
}
/GeoTools/addDataToRaster/10x10_step.asc
TESTER diff
DIFF_DATA
10x10_step.asc 10x10_step.asc
)
AddTest
(
NAME GMSH2OGS_linearElements
PATH Utils/GMSH2OGS
...
...
This diff is collapsed.
Click to expand it.
Tests/Data/GeoTools/addDataToRaster/10x10_step.asc
0 → 100644
+
16
−
0
View file @
0e065fad
ncols 10
nrows 10
xllcorner 1000
yllcorner 100
cellsize 10
NODATA_value -9999
1 1 1 1 1 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0
0 0 0 0 0 1 1 1 1 1
0 0 0 0 0 1 1 1 1 1
0 0 0 0 0 1 1 1 1 1
0 0 0 0 0 1 1 1 1 1
0 0 0 0 0 1 1 1 1 1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment