Commit Graph

168 Commits

Author SHA1 Message Date
hellerve
012f048f7f core: change from str to prn in map stringification 2018-08-07 09:32:35 +02:00
hellerve
57e2afe332 core: add tests for map and set stringification 2018-08-07 09:32:35 +02:00
hellerve
d95c28ad5d core: fixed set and tests 2018-08-07 09:32:32 +02:00
Chris Hall
b00ee0b477 trivial: making test/array error messages distinct 2018-06-26 18:15:21 +10:00
Chris Hall
10f7d29626 adding Array./= 2018-06-26 18:15:21 +10:00
Chris Hall
8d20bb90df Removing Sort as a module name 2018-06-26 18:03:34 +10:00
Chris Hall
1daf9f0db0 adding Array.sort* tests to test/array 2018-06-26 17:37:24 +10:00
Chris Hall
d2012c9243 adding tests for string comparison operators in test/string 2018-06-26 17:24:00 +10:00
Chris Hall
ba5287245f Adding tests for sorting arrays of chars 2018-06-26 17:15:05 +10:00
Chris Hall
8d3fa53abc extending test/char to cover Char.meaning 2018-06-26 17:14:46 +10:00
Chris Hall
d768cc69f0 adding test.char 2018-06-26 17:09:55 +10:00
Chris Hall
9327f7ece0 Adding tests for Sorting arrays of floats 2018-06-26 16:21:05 +10:00
Chris Hall
b0063da5eb Adding tests for Sorting arrays of strings 2018-06-26 16:19:50 +10:00
Chris Hall
d197d32262 Adding tests for String.= and String./= 2018-06-26 15:59:09 +10:00
Chris Hall
85c625b62d Removing Array.sort and Array.sort-with 2018-06-26 15:48:15 +10:00
Chris Hall
a09db503d7 Improving Sort API, sort, sorted, and sort! 2018-06-26 15:42:11 +10:00
Chris Hall
1543fac3fb Issue #252 adding Sort module in Carp using Heap.Heapsort 2018-06-26 15:08:34 +10:00
Chris Hall
24e8cee18f Adding Heap module including HeapSort implementation and test suite 2018-06-26 15:08:34 +10:00
Chris Hall
052e6ef235 Adding Array.pop-back! and tests for pop-back! and pop-back 2018-06-26 15:08:34 +10:00
Chris Hall
fd33eb81f3 Adding Array.push-back! and tests for push-back and push-back! 2018-06-26 15:08:34 +10:00
Chris Hall
598110e7ef adding test on integer division truncating 2018-06-23 14:23:42 +10:00
Erik Svedäng
bcd4e6d298 Test for resolving correctly. 2018-06-13 11:59:13 +02:00
Erik Svedäng
ed0a182d52 Merge branch 'remove-statistics-sum' of https://github.com/hellerve/Carp into hellerve-remove-statistics-sum 2018-06-12 09:45:41 +02:00
Erik Svedäng
e80a41f2ce Test fixes. 2018-06-12 09:01:20 +02:00
hellerve
671116e59c core: remove statistics.sum 2018-06-11 21:35:25 +02:00
Erik Svedäng
a38acb0adc Merge branch 'map' of https://github.com/hellerve/Carp into hellerve-map 2018-06-11 21:08:41 +02:00
hellerve
913e8e3892 core: add map 2018-06-11 20:50:54 +02:00
Erik Svedäng
a5a9a186eb A test to ensure we don't introduce the same bug again. 2018-06-11 15:44:58 +02:00
hellerve
289fa8b011 core: add to-bytes 2018-06-07 18:30:57 +02:00
Erik Svedäng
1079075637 Various tweaks. 2018-06-01 16:40:14 +02:00
Erik Svedäng
4d98a22358 Possible to read float literal without '.', eg. "3f". 2018-06-01 14:17:54 +02:00
Erik Svedäng
12dbe36adc Added function 'zip' and 'enumerated' for Array. 2018-06-01 11:18:34 +02:00
Chris Hall
b9fe2ab340 Fixing trailing bracket style in tests 2018-05-23 18:40:54 +10:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
c93621b5de
Merge pull request #241 from hellerve/random
Add random module
2018-05-22 20:01:28 +02:00
hellerve
c00a336a62 tests: add randomization tests 2018-05-22 19:34:40 +02:00
hellerve
032249b342 core: add random module (referencing #227) 2018-05-22 19:34:38 +02:00
Erik Svedäng
707614e999
Merge pull request #232 from mkfifo/string-library-improvements
String library improvements
2018-05-22 19:10:22 +02:00
Erik Svedäng
bb5e46984f
Merge pull request #230 from mkfifo/travis-running-run-tests
Travis running run_carp_tests.sh
2018-05-22 12:40:49 +02:00
hellerve
42918e3ef6 core: split Char.prn and Char.str (only prn should add slashes 2018-05-21 18:26:05 +02:00
Chris Hall
c0f841ff2c Adding test for String.index-of-from
Issue #94
2018-05-20 18:44:03 +10:00
Chris Hall
d54f5920ff Adding test for String.index-of
Issue #94
2018-05-20 18:27:34 +10:00
Chris Hall
78a1169b96 Adding test for Array.concat 2018-05-20 17:25:02 +10:00
Chris Hall
bc41cfa140 Moving String.join to also use StringBuilder, adding String.join-with-char
Issue #94
2018-05-20 17:11:26 +10:00
Chris Hall
1453649740 Adding another test for String.allocate checking length
Issue #94
2018-05-20 15:26:21 +10:00
Chris Hall
0895b08b39 Adding test against empty string for String.allocate
Issue #94
2018-05-20 15:22:13 +10:00
Chris Hall
d3c3645719 Adding test for String.allocate
Issue #94
2018-05-20 15:18:36 +10:00
Chris Hall
b46b2a39e8 String.append is now by reference, StringCopy.append is by copy/linear
Adding memory leak tests to String.append and StringCopy.append

Issue #94
2018-05-20 14:16:10 +10:00
Chris Hall
4fce1e6aa0 Adding test for String.string-set-at!
Issue #94
2018-05-20 13:53:45 +10:00
Chris Hall
05e1c18d3e Improving test for String.string-set!
Issue #94
2018-05-20 13:37:35 +10:00