Skip to content

Commit

Permalink
Fix residue tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOresten committed Nov 25, 2023
1 parent 56b18a9 commit 220c769
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/residue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
backbone = Backbone(randn(3, 4, 1))
residue = Residue(1, backbone, 'A', Helix)

@test summary(chain) == "Residue 1 ALA Helix"
@test summary(residue) == "Residue 1 ALA Helix"

io = IOBuffer()
show(io, chain)
@test String(take!(io)) == summary(chain)
show(io, residue)
@test String(take!(io)) == summary(residue)
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using Test

include("secondarystructure.jl")
include("backbone/backbone.jl")
include("residue.jl")
include("chain.jl")
include("protein.jl")
include("assign.jl")
Expand Down

0 comments on commit 220c769

Please sign in to comment.