diff --git a/src/E57SimpleData.cpp b/src/E57SimpleData.cpp index 7bb73c3..0518ee6 100644 --- a/src/E57SimpleData.cpp +++ b/src/E57SimpleData.cpp @@ -18,12 +18,6 @@ namespace e57 /// Validates a Data3D and throws on error. void _validateData3D( const Data3D &inData3D ) { - if ( inData3D.pointCount < 1 ) - { - throw E57_EXCEPTION2( ErrorValueOutOfBounds, - "pointCount=" + toString( inData3D.pointCount ) + " minimum=1" ); - } - if ( inData3D.pointFields.pointRangeNodeType == NumericalNodeType::Integer ) { throw E57_EXCEPTION2( ErrorInvalidNodeType, "pointRangeNodeType cannot be Integer" ); diff --git a/test/src/test_SimpleData.cpp b/test/src/test_SimpleData.cpp index be345cb..c404385 100644 --- a/test/src/test_SimpleData.cpp +++ b/test/src/test_SimpleData.cpp @@ -10,13 +10,6 @@ #include "Helpers.h" #include "TestData.h" -TEST( SimpleDataHeader, InvalidPointCount ) -{ - e57::Data3D dataHeader; - - E57_ASSERT_THROW( e57::Data3DPointsFloat pointsData( dataHeader ) ); -} - TEST( SimpleDataHeader, InvalidPointRangeNodeType ) { e57::Data3D dataHeader;