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