public void GetHashCodeNotMatching() { var one = new AudioFormat (WaveFormatEncoding.Unknown, 2, 16, 48000); var two = new AudioFormat (WaveFormatEncoding.LPCM, 2, 16, 48000); Assert.AreNotEqual (one.GetHashCode(), two.GetHashCode()); one = new AudioFormat (WaveFormatEncoding.LPCM, 1, 16, 48000); Assert.AreNotEqual (one.GetHashCode(), two.GetHashCode()); one = new AudioFormat (WaveFormatEncoding.LPCM, 2, 8, 48000); Assert.AreNotEqual (one.GetHashCode(), two.GetHashCode()); one = new AudioFormat (WaveFormatEncoding.LPCM, 2, 16, 44100); Assert.AreNotEqual (one.GetHashCode(), two.GetHashCode()); }
public void GetHashCodeNotMatching() { var one = new AudioFormat(WaveFormatEncoding.Unknown, 2, 16, 48000); var two = new AudioFormat(WaveFormatEncoding.LPCM, 2, 16, 48000); Assert.AreNotEqual(one.GetHashCode(), two.GetHashCode()); one = new AudioFormat(WaveFormatEncoding.LPCM, 1, 16, 48000); Assert.AreNotEqual(one.GetHashCode(), two.GetHashCode()); one = new AudioFormat(WaveFormatEncoding.LPCM, 2, 8, 48000); Assert.AreNotEqual(one.GetHashCode(), two.GetHashCode()); one = new AudioFormat(WaveFormatEncoding.LPCM, 2, 16, 44100); Assert.AreNotEqual(one.GetHashCode(), two.GetHashCode()); }
public void GetHashCodeTest() { var one = new AudioFormat(WaveFormatEncoding.LPCM, 2, 16, 48000); var two = new AudioFormat(WaveFormatEncoding.LPCM, 2, 16, 48000); Assert.AreEqual(one.GetHashCode(), two.GetHashCode()); }
public void GetHashCodeTest() { var one = new AudioFormat (WaveFormatEncoding.LPCM, 2, 16, 48000); var two = new AudioFormat (WaveFormatEncoding.LPCM, 2, 16, 48000); Assert.AreEqual (one.GetHashCode(), two.GetHashCode()); }