Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tests #15

Merged
merged 8 commits into from
Jul 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
simplify string_mime
  • Loading branch information
palday committed Jul 2, 2021
commit 131daf1bd2f188da492238b4269d22eec89efdb0
7 changes: 1 addition & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ using StatsBase
using Statistics
using Test

function string_mime(mime, x)
io = IOBuffer()
show(io, mime, x)
seekstart(io)
return read(io, String)
end
string_mime(mime, x) = sprint(show, mime, x)

@testset "StandardizedPredictors.jl" begin
include("centering.jl")
Expand Down