ladybird/AK/Tests
Matthew Olsson d719e745fb AK: Fix incorrect formatter signing of numbers between -1.0 and 0.0
Floating point numbers are casted to i64 and passed to the integer
formatting logic, and the floating point portion of the number is
handled separately. However, casting to i64 when the number is between
-1.0 and 0.0 produces 0, so the sign would be lost. This commit fixes
that by using put_u64 instead, which allows us to manually provide the
is_negative flag.
2021-04-16 17:42:42 +02:00
..
4chan_catalog.json AK: Add a benchmark for parsing 4chan catalog JSON 2019-08-04 11:57:32 +02:00
CMakeLists.txt AK: Implement IntrusiveRedBlackTree container 2021-04-12 18:03:44 +02:00
test.frm AK: Fix broken symlink used by JSON test 2020-08-06 00:05:52 +02:00
TestAllOf.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
TestAnyOf.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
TestArray.cpp TestArray: constexpr_sum using span 2020-10-21 19:42:46 +02:00
TestAtomic.cpp Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
TestBadge.cpp AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
TestBase64.cpp LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
TestBinaryHeap.cpp AK: Implement minimum BinaryHeap 2021-03-13 20:07:25 +01:00
TestBinarySearch.cpp AK: Deal with unsigned integers in binary search. 2021-01-01 22:23:13 +01:00
TestBitCast.cpp AK: Implement bit_cast 2021-03-23 08:22:15 +01:00
TestBitmap.cpp Everywhere: Fix more typos 2020-10-03 12:36:49 +02:00
TestByteBuffer.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
TestChecked.cpp AK+Tests: Also test Checked<> with unsigned 2021-03-07 17:31:25 +01:00
TestCircularDeque.cpp Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
TestCircularDuplexStream.cpp Meta: Build AK and LibRegex tests in Lagom and for Serenity 2021-02-28 18:19:37 +01:00
TestCircularQueue.cpp CircularQueue: Ensure constructor does not construct any values 2020-10-17 23:21:00 +02:00
TestComplex.cpp AK: Add complex number library 2021-03-27 10:20:55 +01:00
TestDistinctNumeric.cpp AK: Remove operators && and || from DistinctNumeric 2021-02-12 13:27:48 +01:00
TestDoublyLinkedList.cpp DoublyLinkedList: Implement find in terms of AK::find 2021-01-11 19:45:05 +01:00
TestEndian.cpp Endian: constexpr constructors and conversion operators 2020-10-08 23:28:54 +02:00
TestEnumBits.cpp AK: Add AK_ENUM_BITWISE_OPERATORS(..) to enable type-safe enum bitwise operations 2021-03-08 18:47:40 +01:00
TestFind.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
TestFormat.cpp AK: Fix incorrect formatter signing of numbers between -1.0 and 0.0 2021-04-16 17:42:42 +02:00
TestHashFunctions.cpp HashFunctions: constexpr capability 2020-10-21 19:42:12 +02:00
TestHashMap.cpp AK: Add HashMap(std::initializer_list<Entry>) constructor 2020-12-29 15:22:15 +01:00
TestHashTable.cpp AK: Add tests for HashTable 2021-04-02 12:54:54 +02:00
TestIndexSequence.cpp AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
TestIntrusiveRedBlackTree.cpp AK: Implement IntrusiveRedBlackTree container 2021-04-12 18:03:44 +02:00
TestIPv4Address.cpp IPv4Address: constexpr support 2020-11-11 12:18:25 +01:00
TestJSON.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TestLexicalPath.cpp AK: Update LexicalPath::relative_path to work for '/' prefix 2021-04-11 19:19:49 +02:00
TestMACAddress.cpp MACAddress: AK::Array as member variable instead of C-array 2020-11-20 21:18:14 +01:00
TestMemMem.cpp AK: Implement memmem() for iterator haystacks 2020-12-08 23:34:38 +01:00
TestMemoryStream.cpp Meta: Build AK and LibRegex tests in Lagom and for Serenity 2021-02-28 18:19:37 +01:00
TestNeverDestroyed.cpp Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
TestNonnullRefPtr.cpp AK: Use unsigned int for refcount 2020-06-12 16:08:45 +02:00
TestNumberFormat.cpp AK: Implement terabytes, petabytes, exabytes 2021-03-17 23:22:42 +01:00
TestOptional.cpp AK: Add operator* and operator-> overloads in Optional. 2020-12-31 00:51:12 +01:00
TestQueue.cpp Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
TestQuickSort.cpp AK: Use Array iterator instead of indexing outside Array bounds 2021-02-27 11:48:25 +01:00
TestRedBlackTree.cpp AK: Implement RedBlackTree container 2021-04-12 18:03:44 +02:00
TestRefPtr.cpp AK: Add test for the will_be_destroyed and one_ref_left magic functions 2020-12-06 15:49:33 +01:00
TestSinglyLinkedList.cpp SinglyLinkedList: Implement find in terms of AK::find 2021-01-11 19:45:05 +01:00
TestSourceGenerator.cpp Everywhere: void arguments to C functions 2020-12-26 10:10:27 +01:00
TestSpan.cpp AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
TestString.cpp AK: printf was not accounting for plus sign with "%+d" 2020-11-05 11:04:10 +01:00
TestStringUtils.cpp AK: Untangle TestSuite assertions a bit 2021-02-23 13:59:33 +01:00
TestStringView.cpp AK: Fix StringView::find_last_of for one-character views 2021-04-12 22:37:00 +02:00
TestTime.cpp AK: Fix some overflows/underflows that weren't properly handled 2021-03-13 10:17:28 +01:00
TestTrie.cpp AK: Correct name in TestMain for TestTrie 2020-12-30 11:32:20 +01:00
TestTypedTransfer.cpp AK: Moved TypedTransfer into it's own header. 2020-09-09 20:15:50 +02:00
TestTypeTraits.cpp AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
TestURL.cpp AK: Tests: TestURL: Add port_int_overflow_wrap test 2021-03-17 12:39:03 +01:00
TestUtf8.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TestVector.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
TestWeakPtr.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00