How to compare two types of Julia for unit testing?

For types, you can use is (which can be typed as ), but most of the time you don’t need to do this; when I unit test for types I end up using Base.Test.@inferred most of the time.