@@ -1251,15 +1251,14 @@ end
12511251 @test ! isaffine (Proj (Polar))
12521252 @test ! TB. isrevertible (Proj (Polar))
12531253 @test ! TB. isinvertible (Proj (Polar))
1254- @test TB. parameters (Proj (Polar)) == (CRS= Polar, boundary = false )
1255- @test TB. parameters (Proj (EPSG{3395 })) == (CRS= Mercator{WGS84Latest}, boundary = false )
1256- @test TB. parameters (Proj (ESRI{54017 })) == (CRS= Behrmann{WGS84Latest}, boundary = false )
1254+ @test TB. parameters (Proj (Polar)) == (; CRS= Polar)
1255+ @test TB. parameters (Proj (EPSG{3395 })) == (; CRS= Mercator{WGS84Latest})
1256+ @test TB. parameters (Proj (ESRI{54017 })) == (; CRS= Behrmann{WGS84Latest})
12571257 f = Proj (Mercator)
1258- @test sprint (show, f) == " Proj(CRS: CoordRefSystems.Mercator, boundary: false )"
1258+ @test sprint (show, f) == " Proj(CRS: CoordRefSystems.Mercator)"
12591259 @test sprint (show, MIME " text/plain" (), f) == """
12601260 Proj transform
1261- ├─ CRS: CoordRefSystems.Mercator
1262- └─ boundary: false"""
1261+ └─ CRS: CoordRefSystems.Mercator"""
12631262
12641263 # ----
12651264 # VEC
@@ -1458,39 +1457,14 @@ end
14581457 f = Proj (crs (merc (0 , 0 )))
14591458 r, c = TB. apply (f, d)
14601459 @test r === d
1461-
1462- # ----------------
1463- # BOUNDARY OPTION
1464- # ----------------
1465-
1466- f = Proj (Mercator, boundary= false )
1467- g = Triangle (latlon (0 , 0 ), latlon (0 , 45 ), latlon (45 , 0 ))
1468- r, c = TB. apply (f, g)
1469- @test r isa Triangle
1470- f = Proj (Mercator, boundary= true )
1471- r, c = TB. apply (f, g)
1472- @test r isa TransformedGeometry
1473-
1474- f = Proj (LatLon, boundary= false )
1475- g = Triangle (merc (0 , 0 ), merc (1 , 0 ), merc (1 , 1 ))
1476- r, c = TB. apply (f, g)
1477- @test r isa Triangle
1478- f = Proj (LatLon, boundary= true )
1479- r, c = TB. apply (f, g)
1480- @test r isa TransformedGeometry
14811460end
14821461
14831462@testitem " Morphological" setup = [Setup] begin
14841463 f = Morphological (c -> c)
14851464 @test ! isaffine (f)
14861465 @test ! TB. isrevertible (f)
14871466 @test ! TB. isinvertible (f)
1488- @test TB. parameters (f) == (fun= f. fun, boundary= false )
1489- @test sprint (show, f) == " Morphological(fun: $(f. fun) , boundary: false)"
1490- @test sprint (show, MIME " text/plain" (), f) == """
1491- Morphological transform
1492- ├─ fun: $(f. fun)
1493- └─ boundary: false"""
1467+ @test TB. parameters (f) == (; fun= f. fun)
14941468
14951469 # ----
14961470 # VEC
@@ -1616,18 +1590,6 @@ end
16161590 d = SimpleMesh (p, c)
16171591 r, c = TB. apply (f, d)
16181592 @test r ≈ SimpleMesh (f .(vertices (d)), topology (d))
1619-
1620- # ----------------
1621- # BOUNDARY OPTION
1622- # ----------------
1623-
1624- f = Morphological (c -> Cartesian (c. x, c. y, zero (c. x)), boundary= false )
1625- g = Triangle (cart (0 , 0 ), cart (1 , 0 ), cart (1 , 1 ))
1626- r, c = TB. apply (f, g)
1627- @test r isa Triangle
1628- f = Morphological (c -> Cartesian (c. x, c. y, zero (c. x)), boundary= true )
1629- r, c = TB. apply (f, g)
1630- @test r isa TransformedGeometry
16311593end
16321594
16331595@testitem " LengthUnit" setup = [Setup] begin
0 commit comments