예제 #1
0
        private void TestStreamsSelected()
        {
            short[]           psn = new short[2];
            StreamSelection[] pss = new StreamSelection[2];

            psn[0] = 1;
            psn[1] = 2;

            pss[0] = StreamSelection.CleanPointOnly;
            pss[1] = StreamSelection.Off;

            m_read.SetStreamsSelected(2, psn, pss);

            StreamSelection ps;

            m_read.GetStreamSelected(1, out ps);
            Debug.Assert(ps == StreamSelection.CleanPointOnly);

            m_read.GetStreamSelected(2, out ps);
            Debug.Assert(ps == StreamSelection.Off);
        }