File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1042,15 +1042,15 @@ class TestLibrary : public TestFixture {
10421042 for (uint16_t i = 0 ; i < static_cast <uint16_t >(Library::Container::Action::NO_ACTION); ++i) {
10431043 const Library::Container::Action a = static_cast <Library::Container::Action>(i);
10441044 const std::string& s = Library::Container::toString (a);
1045- ASSERT_EQUALS (i, ( uint16_t ) Library::Container::actionFrom (s));
1045+ ASSERT_EQUALS (i, static_cast < uint16_t >( Library::Container::actionFrom (s) ));
10461046 }
10471047 }
10481048
10491049 void containerYieldToFromString () const {
10501050 for (uint16_t i = 0 ; i < static_cast <uint16_t >(Library::Container::Yield::NO_YIELD); ++i) {
10511051 const Library::Container::Yield y = static_cast <Library::Container::Yield>(i);
10521052 const std::string& s = Library::Container::toString (y);
1053- ASSERT_EQUALS (i, ( uint16_t ) Library::Container::yieldFrom (s));
1053+ ASSERT_EQUALS (i, static_cast < uint16_t >( Library::Container::yieldFrom (s) ));
10541054 }
10551055 }
10561056
You can’t perform that action at this time.
0 commit comments