You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/GradientSignal/Code
Mike Balfour 16d6cbca2a
Fixed intermittent unit test failures. (#7651)
The problem is that SurfacePoint doesn't have default values when constructed, and a few of the unit tests weren't setting m_position because the values weren't strictly needed for the test. However, the SurfacePointList checks them for validity and asserted when they couldn't be found, which was hit-and-miss due to it being uninitialized memory that was usually but not always 0xCCCCCCCC.
Improved the assert message and set the position values everywhere.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
Include/GradientSignal Optimize SurfaceData bulk queries (#7593) 4 years ago
Mocks/GradientSignal/Ebuses Terrain Physics Heightfield support 4 years ago
Source Fixed intermittent unit test failures. (#7651) 4 years ago
Tests Fixed intermittent unit test failures. (#7651) 4 years ago
CMakeLists.txt Fix benchmark run crashes. (#7595) 4 years ago
gradientsignal_editor_files.cmake Only allow streaming image assets with supported pixel formats to be selected for an image gradient 4 years ago
gradientsignal_editor_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
gradientsignal_editor_tests_files.cmake Naive GetValues() implementation. (#6741) 4 years ago
gradientsignal_files.cmake Moved GradientSignal component headers to Include directory. 4 years ago
gradientsignal_mocks_files.cmake Terrain Physics Heightfield support 4 years ago
gradientsignal_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
gradientsignal_shared_tests_files.cmake Updated the gradient signal unit tests for the image gradient now using a StreamingImageAsset 4 years ago
gradientsignal_tests_files.cmake Unit tests and benchmarks for GetValues() (#6823) 4 years ago