Skip to content

Commit

Permalink
Tests added.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjamadagni committed Jul 13, 2015
1 parent df5092c commit def58d5
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 @@ -53,3 +53,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 def58d5

Please sign in to comment.