diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 57 |
1 files changed, 48 insertions, 9 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index be491346..3e2059c1 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -2418,15 +2418,54 @@ Lagrange ------------------------------------------------------------------------------- operation +proj=lagrng +a=6400000 +W=2 +lat_1=0.5 +lat_2=2 ------------------------------------------------------------------------------- -tolerance 0.1 mm -accept 2 1 -expect 111703.375917226 27929.831908033 -accept 2 -1 -expect 111699.122088816 -83784.178013358 -accept -2 1 -expect -111703.375917226 27929.831908033 -accept -2 -1 -expect -111699.122088816 -83784.178013358 +tolerance 0.1 mm +accept 2 1 +expect 111703.375917226 27929.831908033 + +roundtrip 100 +accept 2 -1 +expect 111699.122088816 -83784.178013358 +roundtrip 100 + +accept -2 1 +expect -111703.375917226 27929.831908033 +roundtrip 100 + +accept -2 -1 +expect -111699.122088816 -83784.178013358 +roundtrip 100 + +accept 0 90 +expect 0.0000 12800000.0 +roundtrip 100 + +------------------------------------------------------------------------------- +operation +proj=lagrng +R=1 +lat_1=56 +------------------------------------------------------------------------------- +tolerance 1 cm +accept 12 56 +expect 0.10 0.0 + +------------------------------------------------------------------------------- +operation +proj=lagrng +R=1 +W=-1 +------------------------------------------------------------------------------- +expect failure errno w_or_m_zero_or_less + +------------------------------------------------------------------------------- +operation +proj=lagrng +R=1 +lat_1=90.00001 +------------------------------------------------------------------------------- +expect failure errno lat_larger_than_90 + +------------------------------------------------------------------------------- +operation +proj=lagrng +R=1 +W=0.5 +------------------------------------------------------------------------------- +accept 90 0 0 +expect failure errno tolerance_condition + +direction inverse +accept 2 0 0 +expect failure errno tolerance_condition + =============================================================================== |
