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/Code/Framework/AzCore/Tests/AZStd
Artur K b91d503a82
Add AZStd::lerp math function, based on C++20 (#3468)
* Add AZStd::lerp math function, based on c++20

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Add unit test for AZStd::lerp, based on libc++ ones

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* written a reduced set of lerp tests, but now the license is correct

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Update Code/Framework/AzCore/AzCore/std/math.h

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Update Code/Framework/AzCore/Tests/AZStd/Math.cpp

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix the github suggestion merge

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Copy some AZ::Lerp tests to std::lerp test suite + clang-format

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Cleanup lerp test cases

Remove comments that suggested very heavy tests that required things like `for every t1..`

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix unit test compilation issues

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix whitespace issue

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Use `TypeParam` in TYPED_TEST

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unneeded new-lines

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* remove unused infinity

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
Algorithms.cpp Code/Framework/AzCore 4 years ago
Allocators.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 4 years ago
Any.cpp Android fixes 4 years ago
Atomics.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
Bitset.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
ChronoTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ConcurrentAllocators.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 4 years ago
ConcurrentContainers.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CreateDestroy.cpp Converted the AZStd implementations of unintialized construct to use std (#2843) 4 years ago
DequeAndSimilar.cpp Fixed the emplace function implementations for stack and queue (#2657) 4 years ago
Examples.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FunctionalBasic.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FunctorsBind.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
Hashed.cpp Setting /permissive- to make MSVC more "standard" (#3701) 4 years ago
Invoke.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Iterators.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Lists.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ListsFixed.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ListsIntrusive.cpp Code/Framework/AzCore 4 years ago
LockFreeQueues.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LockFreeStacks.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LockTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Math.cpp Add AZStd::lerp math function, based on C++20 (#3468) 4 years ago
Numeric.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Optional.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Ordered.cpp Setting /permissive- to make MSVC more "standard" (#3701) 4 years ago
Pair.cpp Code/Framework 4 years ago
Parallel.cpp Archive Component - Rewrite and additional work on Archive and Asset Bundler (#4332) 4 years ago
ScopedLockTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SetsIntrusive.cpp Code/Framework/AzCore 4 years ago
SmartPtr.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
String.cpp Implemented C++23 deleted nullptr_t constructor/assignment for AZStd string classes (#4158) 4 years ago
Tuple.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TypeTraits.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UserTypes.h remove unnecessary ALIGN macros 4 years ago
Variant.cpp more fixes for Code 4 years ago
VariantSerialization.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
VectorAndArray.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago