- for (int i = 0; i < 4; ++i) {
- for (int j = 0; j < MAX_DCP_AUDIO_CHANNELS; ++j) {
- BOOST_CHECK_EQUAL (four.get (i, static_cast<dcp::Channel> (j)), i == j ? 1 : 0);
- }
- }
-
- four.set (0, dcp::RIGHT, 1);
- BOOST_CHECK_EQUAL (four.get (0, dcp::RIGHT), 1);