aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2445 from Lperlind/documentation/strings_returnsJeroen van Rijn2023-04-082-13/+27
|\ | | | | Document return values of strings and add allocator errors where possible
| * Document return values of strings and add allocator errors whereLucas Perlind2023-04-072-13/+27
| | | | | | | | possible
* | core/crypto: Add private attributes for internalsYawning Angel2023-04-081-1/+7
|/ | | | | These constants and internal routines are not intended for use outside the actual implementations themselves.
* Re-enable documentation CI and improve error messagesLucas Perlind2023-04-071-2/+37
|
* Merge pull request #2436 from Lperlind/batch-failJeroen van Rijn2023-04-036-38/+36
|\ | | | | Make tests scripts error if a test fails
| * Make tests scripts error if a test failsLucas Perlind2023-04-036-38/+36
| | | | | | | | | | Additionally fixes tests that were found broken because of this.
* | Enforce example names in documentationLucas Perlind2023-04-011-70/+97
|/
* Add documentation tester and make it apart of CI workflowLucas Perlind2023-03-302-0/+406
|
* Add tests for string case conversionJeroen van Rijn2023-03-241-0/+46
|
* Apply #shared_nil to Network_ErrorJeroen van Rijn2023-03-041-7/+10
|
* Finish cleaning up core_net.Jeroen van Rijn2023-03-031-2/+2
|
* manually start merging core_netColin Davidson2023-03-013-1/+517
|
* Merge pull request #2269 from Skytrias/luapatterngingerBill2022-12-223-2/+406
|\ | | | | Add lua pattern matching to core:text with tests
| * folder name changedskytrias2022-12-212-29/+29
| |
| * fix styling issues and use switches in cases its necessary, add comments to ↵skytrias2022-12-201-3/+3
| | | | | | | | helpers
| * add iter_index and update tests to use easier matcher setupskytrias2022-12-201-50/+22
| |
| * case insensitive helper callskytrias2022-12-181-24/+28
| |
| * add proper unicode walkingskytrias2022-12-181-42/+102
| |
| * balanced string, frontier pattern, gsub_with and their tests addedskytrias2022-12-181-12/+47
| |
| * create lua strlib text package and testsskytrias2022-12-183-1/+334
| |
* | Add more utility procedures to small arrayLucas Perlind2022-12-212-1/+62
|/
* Improve core:math procedures and add loads of unit testsgingerBill2022-11-292-2/+842
|
* Test new map when used as a set.Jeroen van Rijn2022-11-151-0/+117
| | | | map[K]struct{} works fine.
* map tests for Linux and MacJeroen van Rijn2022-11-132-1/+8
|
* map: Add tests for update + delete.Jeroen van Rijn2022-11-131-5/+148
|
* Update tests/internal/build.batJeroen van Rijn2022-11-121-1/+2
|
* Add tests/internal/build.batJeroen van Rijn2022-11-121-0/+2
|
* Add tests for new map implementation.Jeroen van Rijn2022-11-121-0/+122
|
* Merge pull request #1544 from FancyKillerPanda/build_ignoregingerBill2022-11-031-1/+0
|\ | | | | Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
| * Removed //+build ignore from tests/core/math/big/test.odin.FancyKillerPanda2022-02-241-1/+0
| |
| * Changed //+ignore to //+build ignore.FancyKillerPanda2022-02-241-1/+1
| |
* | Merge pull request #2115 from Lperlind/staging/soa_ptr_debug_fixgingerBill2022-10-103-9/+33
|\ \ | | | | | | Generate debug info for Type_SoaPointer
| * | Github CI: Add test case for issue 2113Lucas Perlind2022-10-083-9/+33
| | |
* | | Fix #2122Jeroen van Rijn2022-10-091-1/+5
|/ /
* | [strconv] Add parsing of Inf & NaNJeroen van Rijn2022-09-285-206/+214
| |
* | Enable libc complex test.Jeroen van Rijn2022-09-221-2/+5
| |
* | Correcting libc pow bindings134195962022-09-212-0/+128
| | | | | | | | | | | | Adding tests that libc pow(f) functions - have two arguments - behave as expected for simple inputs.
* | [core:image/tga] Add tests.Jeroen van Rijn2022-09-101-0/+23
| |
* | cleanup testsPhil2022-09-011-0/+7
| |
* | add sort_by_indices overload and testPhil2022-09-011-0/+16
| |
* | add tests for sort_by_indicesPhil2022-09-011-0/+65
| |
* | cleanup slice sorting with indices changesPhil2022-09-011-1/+4
| |
* | have sort_with_indices allocate. Add a couple convenience procs for using ↵Phil2022-09-011-10/+4
| | | | | | | | the indices result to sort other slices.
* | Add test for core:slice.Jeroen van Rijn2022-09-012-1/+103
| |
* | Correct naming in testsgingerBill2022-07-112-4/+4
| |
* | [image/png] Construct test paths differently.Jeroen van Rijn2022-06-111-1/+2
| |
* | Correct xml testgingerBill2022-05-121-1/+1
| |
* | Fix issue 1761. Added the test vector to the core and vendor testszhibog2022-05-042-0/+8
| |
* | [xxhash] For the streaming tests, randomly select the size to use.Jeroen van Rijn2022-05-021-5/+23
| | | | | | | | | | | | | | | | | | Randomize size used with `update`. It'll print "Using user-selected seed {18109872483301276539,2000259725719371} for update size randomness." If a streaming test then fails, you can repeat it using: `odin run . -define:RAND_STATE=18109872483301276539 -define:RAND_INC=2000259725719371`
* | [xxhash] Add tests for large inputsJeroen van Rijn2022-05-022-3/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test XXH32, XXH64, XXH3-64 and XXH3-128 for large inputs, with both all-at-once and streaming APIs. XXH32_create_state and XXH64_create_state now implicitly call their "reset state" variants to simplify the streaming API to 3 steps: - create state / defer destroy - update - digest (finalize) These are tested with an array of 1, 2, 4, 8 and 16 megabytes worth of zeroes. All return the same hashes as do both the one-shot version, as well as that of the official xxhsum tool. 3778/3778 tests successful.