public void EqualityTest() { var seq1 = new BitSequence(16); var seq2 = new BitSequence(16); seq1.Push(true); seq1.Push(true); seq2.Push(seq1); Assert.Equal(seq1, seq2); Assert.Equal(seq1.GetHashCode(), seq2.GetHashCode()); }
public void EqualityTest() { var seq1 = new BitSequence(16); var seq2 = new BitSequence(16); seq1.Push(true); seq1.Push(true); seq2.Push(seq1); Assert.Equal(seq1, seq2); Assert.Equal(seq1.GetHashCode(), seq2.GetHashCode()); }