We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26306e commit 0f48b1dCopy full SHA for 0f48b1d
test/shows.jl
@@ -133,6 +133,22 @@
133
└─ colspec = [:a, :b, :c]"""
134
end
135
136
+ @testset "DropExtrema" begin
137
+ T = DropExtrema("a", low=0.25, high=0.75)
138
+
139
+ # compact mode
140
+ iostr = sprint(show, T)
141
+ @test iostr == "DropExtrema([:a], 0.25, 0.75)"
142
143
+ # full mode
144
+ iostr = sprint(show, MIME("text/plain"), T)
145
+ @test iostr == """
146
+ DropExtrema transform
147
+ ├─ colspec = [:a]
148
+ ├─ low = 0.25
149
+ └─ high = 0.75"""
150
+ end
151
152
@testset "Map" begin
153
fun = (a, b) -> 2a + b
154
T = Map(:a => sin, [:a, :b] => fun => :c)
0 commit comments