Skip to content

Commit

Permalink
add test of plotting features
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoffrin committed Mar 25, 2024
1 parent c193593 commit 175e04b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ end
@test true
end

@testset "two qubit plot, num_states" begin
plt = plot_states(ρ,num_states=2)
@test true
end

@testset "two qubit plot, num_states" begin
plt = plot_states(ρ,ising_model=ising,energy_levels=1)
@test true
end

@testset "two qubit plot, numeric sorting, with kwargs" begin
plt = plot_states(ρ,order=:numeric,xlabel="x")
@test true
Expand Down

0 comments on commit 175e04b

Please sign in to comment.