Skip to content

Commit

Permalink
Update test_throws.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz authored Mar 3, 2024
1 parent 845b7b1 commit 73b4c1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_throws.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Test
using QuantumClifford
using QuantumClifford: rank, mul_left!, mul_right!
using QuantumClifford.ECC: QHamming
using InteractiveUtils: subtypes


Expand Down Expand Up @@ -65,3 +66,5 @@ for m in [sMX,sMZ,sMY,sMRX,sMRZ,sMRY]
@test_throws ArgumentError m(0,1)
@test_throws ArgumentError m(-1,0)
end

@test_throws ArgumentError parity_checks(QHamming(2))

0 comments on commit 73b4c1d

Please sign in to comment.