Browse Source

Audio: actually test ImporterFeatures debug printing.

And not just a single ImporterFeature.
pull/589/head
Vladimír Vondruš 4 years ago
parent
commit
9b610ee600
  1. 4
      src/Magnum/Audio/Test/AbstractImporterTest.cpp

4
src/Magnum/Audio/Test/AbstractImporterTest.cpp

@ -391,8 +391,8 @@ void AbstractImporterTest::debugFeature() {
void AbstractImporterTest::debugFeatures() {
std::ostringstream out;
Debug{&out} << ImporterFeature::OpenData << ImporterFeatures{};
CORRADE_COMPARE(out.str(), "Audio::ImporterFeature::OpenData Audio::ImporterFeatures{}\n");
Debug{&out} << (ImporterFeature::OpenData|ImporterFeature(0xf0)) << ImporterFeatures{};
CORRADE_COMPARE(out.str(), "Audio::ImporterFeature::OpenData|Audio::ImporterFeature(0xf0) Audio::ImporterFeatures{}\n");
}
}}}}

Loading…
Cancel
Save