diff --git a/test/operatortest.jl b/test/operatortest.jl index 7a38ead..3cbe30a 100644 --- a/test/operatortest.jl +++ b/test/operatortest.jl @@ -28,4 +28,4 @@ coherentstate = displaceop(20,1)*statevec(1,FiniteBasis(20)) ############################ @assert squeezingop(2,1.0)== QuArray(eye(2)) -@assert squeezingop(lowerop(2), QuArray(eye(2)), 2.0)' == displaceop(2,1) +@assert coeffs(squeezingop(lowerop(2), QuArray(eye(2)), 2.0)') == coeffs(displaceop(2,1))