From 220c7696364805f39e09977f0644b5c47e9f9fa9 Mon Sep 17 00:00:00 2001 From: anton083 Date: Sat, 25 Nov 2023 16:24:32 +0100 Subject: [PATCH] Fix residue tests --- test/residue.jl | 6 +++--- test/runtests.jl | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/residue.jl b/test/residue.jl index d607f86..f784d86 100644 --- a/test/residue.jl +++ b/test/residue.jl @@ -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 \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index 80b786e..7b8fe2e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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")