From 73b4c1de6829159251a33d31f68b24f000a4fb08 Mon Sep 17 00:00:00 2001 From: Feroz <93876775+Fe-r-oz@users.noreply.github.com> Date: Sun, 3 Mar 2024 22:36:58 +0500 Subject: [PATCH] Update test_throws.jl --- test/test_throws.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_throws.jl b/test/test_throws.jl index 724cc7de5..caf5cf39f 100644 --- a/test/test_throws.jl +++ b/test/test_throws.jl @@ -1,6 +1,7 @@ using Test using QuantumClifford using QuantumClifford: rank, mul_left!, mul_right! +using QuantumClifford.ECC: QHamming using InteractiveUtils: subtypes @@ -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))