public void TestTransform() { var s = new QuantumSuperPosition <string>(new Dictionary <string, ComplexRational> { { "hey", BigRational.One / 5 * 3 }, { "you", -BigRational.One / 5 * 4 } }); TestingUtilities.AssertThrows(() => s.Transform(e => e.Length)); }