PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unit-tests_Settings.h 503B

3 years ago
1234567891011121314151617181920
  1. #pragma once
  2. #include "unit-tests.h"
  3. #include <src/midi_Settings.h>
  4. BEGIN_UNIT_TESTS_NAMESPACE
  5. template<bool RunningStatus, bool OneByteParsing>
  6. struct VariableSettings : public midi::DefaultSettings
  7. {
  8. static const bool UseRunningStatus = RunningStatus;
  9. static const bool Use1ByteParsing = OneByteParsing;
  10. };
  11. template<bool A, bool B>
  12. const bool VariableSettings<A, B>::UseRunningStatus;
  13. template<bool A, bool B>
  14. const bool VariableSettings<A, B>::Use1ByteParsing;
  15. END_UNIT_TESTS_NAMESPACE