Skip to content

Commit

Permalink
Merge pull request Unidata#74 from opoplawski/bigendian
Browse files Browse the repository at this point in the history
Fix tests on bigendian machines
  • Loading branch information
WardF authored Feb 24, 2022
2 parents b7780c6 + ef14bdb commit 4d5a7ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cxx4/test_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ try
cout <<" ----------- passed\n";

cout <<left<<setw(57)<<"Testing NcEnumType::addMember()";
enumType1.addMember("Monday",1);
enumType1.addMember("Tuesday",7);
enumType1.addMember("Wednesday",-20);
enumType1.addMember("Monday",(short)1);
enumType1.addMember("Tuesday",(short)7);
enumType1.addMember("Wednesday",(short)-20);
cout <<" ----------- passed\n";

cout <<left<<setw(57)<<"Testing NcEnumType::getBaseType() == and !=";
Expand Down

0 comments on commit 4d5a7ad

Please sign in to comment.