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.
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 | |
|---|---|---|
| .. | ||
| EditorGradientSignalPreviewTests.cpp | 4 years ago | |
| GradientSignalBenchmarks.cpp | 4 years ago | |
| GradientSignalGetValuesTests.cpp | 4 years ago | |
| GradientSignalImageTests.cpp | 4 years ago | |
| GradientSignalReferencesTests.cpp | 4 years ago | |
| GradientSignalServicesTests.cpp | 4 years ago | |
| GradientSignalSurfaceTests.cpp | 4 years ago | |
| GradientSignalTest.cpp | 4 years ago | |
| GradientSignalTestFixtures.cpp | 4 years ago | |
| GradientSignalTestFixtures.h | 4 years ago | |
| GradientSignalTestHelpers.cpp | 4 years ago | |
| GradientSignalTestHelpers.h | 4 years ago | |
| GradientSignalTestMocks.h | 4 years ago | |
| GradientSignalTransformTests.cpp | 4 years ago | |
| ImageAssetTests.cpp | 4 years ago | |