File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
name = " ApproxFunBase"
2
2
uuid = " fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3
- version = " 0.6.0 "
3
+ version = " 0.6.1 "
4
4
5
5
[deps ]
6
6
AbstractFFTs = " 621f4979-c628-5d54-868e-fcf4e3e8185c"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ struct PrintShow
38
38
end
39
39
Base. show (io:: IO ,N:: PrintShow ) = print (io,N. str)
40
40
41
- show (io:: IO , B:: Operator ) = summary (io, B)
41
+ show (io:: IO , B:: Operator ; kw ... ) = summary (io, B)
42
42
43
43
function show (io:: IO , :: MIME"text/plain" , B:: Operator ;header:: Bool = true )
44
44
header && summary (io, B)
120
120
function show (io:: IO ,s:: QuotientSpace )
121
121
show (io,s. space)
122
122
print (io," /\n " )
123
- show (io,s. bcs;header= false )
123
+ show (io,s. bcs)
124
+ end
125
+
126
+ function show (io:: IO , m:: MIME"text/plain" , s:: QuotientSpace )
127
+ show (io,s. space)
128
+ print (io," /\n " )
129
+ show (io, m, s. bcs, header = false )
124
130
end
125
131
126
132
Original file line number Diff line number Diff line change 37
37
show (io, MIME " text/plain" (), D)
38
38
@test contains (String (take! (io)), dsum)
39
39
end
40
+ @testset " QuotientSpace" begin
41
+ Q = QuotientSpace (Dirichlet (ConstantSpace (0 .. 1 )))
42
+ @test startswith (repr (Q), " ConstantSpace(0..1) /" )
43
+ io = IOBuffer ()
44
+ show (io, MIME " text/plain" (), Q)
45
+ s = String (take! (io))
46
+ @test startswith (s, " ConstantSpace(0..1) /" )
47
+ end
40
48
end
41
49
end
You can’t perform that action at this time.
0 commit comments