Skip to content

Commit

Permalink
Tests added.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjamadagni committed Jul 20, 2015
1 parent 25862bd commit abee505
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/multest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ qv1 = normalize!(QuArray(v1))

# Vectorize
@assert vec(qv) == vec(qv')

# Complex coeffs
@assert complex(statevec(1, FiniteBasis(2))) == QuArray([1.+0.*im, 0.+0.*im])

0 comments on commit abee505

Please sign in to comment.