Jeroen van Rijn
6fe8692b98
Merge pull request #2445 from Lperlind/documentation/strings_returns
...
Document return values of strings and add allocator errors where possible
2023-04-08 10:05:39 +02:00
Yawning Angel
7fc2081543
core/crypto: Add private attributes for internals
...
These constants and internal routines are not intended for use outside
the actual implementations themselves.
2023-04-08 10:15:00 +09:00
Lucas Perlind
e0d9092df8
Document return values of strings and add allocator errors where
...
possible
2023-04-07 20:39:01 +10:00
Lucas Perlind
0af1b75a02
Re-enable documentation CI and improve error messages
2023-04-07 09:16:50 +10:00
Jeroen van Rijn
f205df1996
Merge pull request #2436 from Lperlind/batch-fail
...
Make tests scripts error if a test fails
2023-04-03 08:56:43 +02:00
Lucas Perlind
c59ad24856
Make tests scripts error if a test fails
...
Additionally fixes tests that were found broken because
of this.
2023-04-03 16:49:14 +10:00
Lucas Perlind
6ff0cc0b40
Enforce example names in documentation
2023-04-01 09:13:15 +11:00
Lucas Perlind
22e0f5ecd0
Add documentation tester and make it apart of CI workflow
2023-03-30 18:14:57 +11:00
Jeroen van Rijn
d337a11e83
Add tests for string case conversion
2023-03-24 11:47:45 +01:00
Jeroen van Rijn
e254581a1b
Apply #shared_nil to Network_Error
2023-03-04 10:39:20 +01:00
Jeroen van Rijn
5c05038af0
Finish cleaning up core_net.
2023-03-03 17:26:44 +01:00
Colin Davidson
28f7f57247
manually start merging core_net
2023-03-01 07:58:30 -08:00
gingerBill
c8f05b7c0c
Merge pull request #2269 from Skytrias/luapattern
...
Add lua pattern matching to core:text with tests
2022-12-22 11:08:10 +00:00
skytrias
e5d0417a6c
folder name changed
2022-12-21 21:36:50 +01:00
Lucas Perlind
f029b4beb1
Add more utility procedures to small array
2022-12-21 13:00:33 +11:00
skytrias
1bea0f3772
fix styling issues and use switches in cases its necessary, add comments to helpers
2022-12-20 15:48:10 +01:00
skytrias
ff7f139fd7
add iter_index and update tests to use easier matcher setup
2022-12-20 12:59:32 +01:00
skytrias
eb5523d5d3
case insensitive helper call
2022-12-18 23:11:23 +01:00
skytrias
3f4bbbec29
add proper unicode walking
2022-12-18 23:11:23 +01:00
skytrias
70bd220f34
balanced string, frontier pattern, gsub_with and their tests added
2022-12-18 23:11:23 +01:00
skytrias
bd3596f012
create lua strlib text package and tests
2022-12-18 23:11:23 +01:00
gingerBill
0c25f7cdc5
Improve core:math procedures and add loads of unit tests
2022-11-29 11:39:44 +00:00
Jeroen van Rijn
3949e2220f
Test new map when used as a set.
...
map[K]struct{} works fine.
2022-11-15 01:27:29 +01:00
Jeroen van Rijn
9b88a38e54
map tests for Linux and Mac
2022-11-13 16:32:24 +01:00
Jeroen van Rijn
16a494347c
map: Add tests for update + delete.
2022-11-13 16:24:20 +01:00
Jeroen van Rijn
699cabeb1c
Update tests/internal/build.bat
2022-11-12 17:36:20 +01:00
Jeroen van Rijn
7207f4b0c5
Add tests/internal/build.bat
2022-11-12 17:31:26 +01:00
Jeroen van Rijn
9c1b464c94
Add tests for new map implementation.
2022-11-12 17:25:42 +01:00
gingerBill
f7211408fc
Merge pull request #1544 from FancyKillerPanda/build_ignore
...
Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
2022-11-03 12:58:26 +00:00
gingerBill
7952b26e8b
Merge pull request #2115 from Lperlind/staging/soa_ptr_debug_fix
...
Generate debug info for Type_SoaPointer
2022-10-10 11:56:51 +01:00
Jeroen van Rijn
4c78ba2152
Fix #2122
2022-10-09 21:34:43 +02:00
Lucas Perlind
64f1e8b7a2
Github CI: Add test case for issue 2113
2022-10-08 17:07:29 +11:00
Jeroen van Rijn
cd910b1512
[strconv] Add parsing of Inf & NaN
2022-09-28 16:41:26 +02:00
Jeroen van Rijn
b7abacfa7e
Enable libc complex test.
2022-09-22 01:01:40 +02:00
13419596
4b4c2a2abd
Correcting libc pow bindings
...
Adding tests that libc pow(f) functions
- have two arguments
- behave as expected for simple inputs.
2022-09-21 17:15:28 -05:00
Jeroen van Rijn
99f4cc3006
[core:image/tga] Add tests.
2022-09-10 20:22:10 +02:00
Phil
1296630160
cleanup tests
2022-09-01 12:34:08 -07:00
Phil
63eec25044
add sort_by_indices overload and test
2022-09-01 12:32:33 -07:00
Phil
7a9b0731cf
add tests for sort_by_indices
2022-09-01 12:13:15 -07:00
Phil
d45661c405
cleanup slice sorting with indices changes
2022-09-01 11:51:45 -07:00
Phil
002bec256a
have sort_with_indices allocate. Add a couple convenience procs for using the indices result to sort other slices.
2022-09-01 11:46:59 -07:00
Jeroen van Rijn
36473b2774
Add test for core:slice.
2022-09-01 18:04:48 +02:00
gingerBill
ae9d540c1c
Correct naming in tests
2022-07-11 11:55:49 +01:00
Jeroen van Rijn
ab98108441
[image/png] Construct test paths differently.
2022-06-11 16:07:56 +02:00
gingerBill
bc18310107
Correct xml test
2022-05-12 16:01:15 +01:00
zhibog
0e91e63043
Fix issue 1761. Added the test vector to the core and vendor tests
2022-05-04 22:13:50 +02:00
Jeroen van Rijn
b99940f33a
[xxhash] For the streaming tests, randomly select the size to use.
...
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`
2022-05-02 19:20:25 +02:00
Jeroen van Rijn
6985181961
[xxhash] Add tests for large inputs
...
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.
2022-05-02 17:51:39 +02:00
Jeroen van Rijn
2081f8fcd6
[tests/core/image] Remove old crappy PPM writer.
2022-04-30 22:04:47 +02:00
Jeroen van Rijn
7a032cf9f9
[pbm] Also test PFM formats.
2022-04-30 21:57:14 +02:00