These tests fail on i386 only due to floating-point rounding issues. The test really should be by string for 'illegal number', but until that's fixed this does the job. Also the tests had Degrees/gradians wrong for 3 out of 6. Index: dewalls-1.0.0+ds1/test/azimuthparsingtests.cpp =================================================================== --- dewalls-1.0.0+ds1.orig/test/azimuthparsingtests.cpp +++ dewalls-1.0.0+ds1/test/azimuthparsingtests.cpp @@ -61,11 +61,11 @@ TEST_CASE( "azimuth parsing tests" , "[d CHECK_THROWS( WallsSurveyParser(" ").azimuth(Angle::Degrees) ); } SECTION( "out of range values throw" ) { - CHECK_THROWS( WallsSurveyParser("360").azimuth(Angle::Degrees) ); + CHECK_THROWS( WallsSurveyParser("360.00001").azimuth(Angle::Degrees) ); CHECK_THROWS( WallsSurveyParser("-0.00001").azimuth(Angle::Degrees) ); - CHECK_THROWS( WallsSurveyParser("400g").azimuth(Angle::Degrees) ); - CHECK_THROWS( WallsSurveyParser("-0.00001g").azimuth(Angle::Degrees) ); - CHECK_THROWS( WallsSurveyParser("N90E").azimuth(Angle::Degrees) ); - CHECK_THROWS( WallsSurveyParser("N100gE").azimuth(Angle::Degrees) ); + CHECK_THROWS( WallsSurveyParser("400.00001g").azimuth(Angle::Gradians) ); + CHECK_THROWS( WallsSurveyParser("-0.00001g").azimuth(Angle::Gradians) ); + CHECK_THROWS( WallsSurveyParser("N90.00001E").azimuth(Angle::Degrees) ); + CHECK_THROWS( WallsSurveyParser("N100.00001gE").azimuth(Angle::Gradians) ); } }