public void Label2Test2() { JT1078Label2 label2 = new JT1078Label2(0, 28); Assert.Equal(28, label2.ToByte()); Assert.Equal(0, label2.M); Assert.Equal(Jt1078AudioType.AMR, label2.PT); }
public void Label2Test1() { JT1078Label2 label2 = new JT1078Label2(254); Assert.Equal(254, label2.ToByte()); Assert.Equal(1, label2.M); Assert.Equal(126, (byte)label2.PT); }