public void NotPassByReference() { var op = new[] { 1, 2, 4, 3 }.ToLadderSequence(); var newTerm = new NormalOrderedSequence(op); op.Sequence[2] = new LadderOperator(RaisingLowering.d, 5); Assert.NotEqual(op.Sequence, newTerm.Sequence); }
public void Inheritance() { var term = new NormalOrderedSequence <int>(new LadderSequence <int>()); var term2 = new HermitianFermionTerm(term); }