Commit graph

148 commits

Author SHA1 Message Date
Zoltán Vörös
9eebed2d3a add basic complex tests 2021-12-30 11:32:07 +01:00
Zoltán Vörös
e655c94108 add simple test for sum() 2021-11-30 20:38:43 +01:00
69011c8696 Re-organize tests 2021-07-23 09:19:10 -05:00
Zoltán Vörös
dd8b404c14 re-organise test scripts 2021-06-08 21:18:33 +02:00
Zoltán Vörös
b9c4d3b026 remove redundant flag 2021-06-08 21:02:12 +02:00
Zoltán Vörös
9f6787b2bc update test script 2021-06-08 20:59:28 +02:00
vikas-udupa
b0679e6d16 implemented cho_solve function in scipy.linalg 2021-05-15 23:42:02 -04:00
Zoltán Vörös
c08cba3cdf add simple garbage collector test 2021-05-13 22:10:34 +02:00
vikas-udupa
e52fa96c23 removed redundant function pointers, added copyright note 2021-05-05 18:47:15 -04:00
vikas-udupa
f9b0e4381b corrections to solve_triangular, moved solve_triangular to scipy.linalg module 2021-05-05 11:24:05 -04:00
vikas-udupa
3e63c8e144 implemented solve_triangular and syncing with original repo 2021-04-29 09:26:33 -04:00
vikas-udupa
ab60c5c98c implemented solve_triangular function in numpy.linalg module along with two tests 2021-04-29 09:20:17 -04:00
Zoltán Vörös
2407d5e289 fix trivial error in ndarray_from_mp_object 2021-03-31 07:24:52 +02:00
Zoltán Vörös
032e891545 add where tests 2021-03-31 07:11:33 +02:00
Zoltán Vörös
fde76a4160 add any/all test script 2021-03-13 18:12:50 +01:00
Zoltán Vörös
b3b22ab638
Merge pull request #344 from v923z/dot-test
fix dot test
2021-03-08 18:45:12 +01:00
Zoltán Vörös
a8b78fa051 fixed dot test 2021-03-08 17:15:18 +01:00
Zoltán Vörös
c501569dd7 add from_buffer tests 2021-03-08 07:18:55 +01:00
Zoltán Vörös
06cb1c2388 buffer tests pass now 2021-02-21 21:31:46 +01:00
Zoltán Vörös
b8b98be91b add trailing newline in buffer.py.exp 2021-02-21 21:21:17 +01:00
Zoltán Vörös
f821c2a8fe fix import error buffer test 2021-02-21 21:19:47 +01:00
Zoltán Vörös
0aef4a9e25 add buffer tests 2021-02-21 21:09:28 +01:00
jetpax
fa29c5c92a Add test for byteswao 2021-02-15 12:57:43 -08:00
Zoltán Vörös
317943b970 moved trace to numpy 2021-02-13 09:25:08 +01:00
Zoltán Vörös
701ad767c8 moved the dot function to numpy 2021-02-13 09:06:02 +01:00
Zoltán Vörös
ab964b94be
Merge pull request #314 from ubIQio/ubIQio-patch-1
Add vector 2-norm test
2021-02-12 18:35:43 +01:00
Zoltán Vörös
8046888d99 simplified array contraction algorithm 2021-02-12 18:15:42 +01:00
jetpax
bc7e9bb8df Fix failing test 2021-02-10 19:21:52 -08:00
ubIQio
b4f54900bf
Add vector 2-norm axis = 0 test case 2021-02-10 16:21:57 +01:00
ubIQio
1754a2eb14
Add vector norm test 2021-02-10 06:08:30 +01:00
CallumJHays
80d8fcc919 test np.isinf 2021-02-01 21:08:12 +10:00
Zoltán Vörös
9611a0a638 removed circuitpython tests 2021-01-29 17:15:28 +01:00
Zoltán Vörös
74bc705175 removed unused use_ulab flags 2020-11-25 17:27:55 +01:00
Zoltán Vörös
118d66c771 added convolve test 2020-11-25 17:23:38 +01:00
Zoltán Vörös
ae0276509c fixed tests 2020-11-25 17:22:25 +01:00
Zoltán Vörös
9d34f8a359 added approx tests to circuitpython 2020-11-23 22:04:29 +01:00
Zoltán Vörös
2011510871 fixed fmin test 2020-11-23 21:43:34 +01:00
Zoltán Vörös
f6f95f39c7
Merge pull request #241 from mouryarahul/fft
Script to test FFT and Filter
2020-11-23 07:45:26 +01:00
Zoltán Vörös
771ac047fe
Merge pull request #257 from mouryarahul/optim
add script to test numerical optimization functions
2020-11-23 07:42:48 +01:00
Zoltán Vörös
b6e90096c5
Merge pull request #253 from mouryarahul/filter
add script to test filter functions
2020-11-23 07:42:14 +01:00
Zoltán Vörös
094302e414
Merge pull request #254 from mouryarahul/approx
remove approx.py
2020-11-23 07:41:32 +01:00
Zoltán Vörös
6dafbef969
Merge pull request #255 from mouryarahul/trapz
add test script for trapz function
2020-11-23 07:40:38 +01:00
mouryarahul
b35f4ff7d1 add script to test numerical optimization functions 2020-11-23 00:21:07 +00:00
mouryarahul
b8d36719d0 add test script for interp function 2020-11-23 00:14:43 +00:00
mouryarahul
195afc9ac4 add test script for trapz function 2020-11-23 00:08:34 +00:00
mouryarahul
14302180d1 remove approx.py 2020-11-23 00:00:53 +00:00
mouryarahul
9dd719a792 add script to test filter functions 2020-11-22 23:22:17 +00:00
mouryarahul
d43dd21ef1 remove old filter_fft.py 2020-11-22 23:14:25 +00:00
mouryarahul
3552b42cf5 add script to test fft and ifft 2020-11-22 23:12:41 +00:00
Zoltán Vörös
c34570e6c4
Rename operators_extra.py.exp to operators.py.exp 2020-11-22 20:49:26 +01:00
Zoltán Vörös
c3f7519d6a
Rename operators_extra.py to operators.py 2020-11-22 20:49:07 +01:00
Zoltán Vörös
87a3861273
Merge pull request #247 from mouryarahul/poly
add script to test polynomial module
2020-11-22 20:46:06 +01:00
mouryarahul
958c3f12d4 merge poly.py and poly_extra.py 2020-11-21 22:52:31 +00:00
mouryarahul
80059244b9 merged poly.py and poly_extra.py 2020-11-21 22:41:33 +00:00
mouryarahul
25dfdeebcd minor change 2020-11-21 22:39:52 +00:00
Zoltán Vörös
d9af80e7d9
Merge pull request #243 from mouryarahul/linalg
add script to test linalg module
2020-11-21 20:17:56 +01:00
mouryarahul
45ceae68ec rename polyval to poly_extra 2020-11-21 16:58:05 +00:00
Zoltán Vörös
5f7092cec0
Merge pull request #242 from mouryarahul/init
add script to test array initialisation
2020-11-21 07:53:54 +01:00
Zoltán Vörös
48b23e05e7
Merge pull request #244 from mouryarahul/methods
add script to test methods on array
2020-11-21 07:43:46 +01:00
Zoltán Vörös
ffcb74e128
Merge pull request #245 from mouryarahul/numericals
add script to test numericals module
2020-11-21 07:41:20 +01:00
Zoltán Vörös
ae6a0791d7
Merge pull request #246 from mouryarahul/operators
add script to test operators module
2020-11-21 07:40:31 +01:00
Zoltán Vörös
3330c16dbc
Merge pull request #248 from mouryarahul/universal
add script to test universal functions
2020-11-21 07:37:41 +01:00
mouryarahul
5aaf4095f3 add script to test universal functions 2020-11-21 00:27:51 +00:00
mouryarahul
63fee69162 add script to test polynomial module 2020-11-21 00:15:59 +00:00
mouryarahul
fc70f61194 add script to test operators module 2020-11-21 00:09:33 +00:00
mouryarahul
8fc18e2468 add script to test numericals module 2020-11-20 23:59:11 +00:00
mouryarahul
b302e8224b add script to test methods on array 2020-11-20 23:50:51 +00:00
mouryarahul
a6692b0d4d add script to test linalg module 2020-11-20 23:41:03 +00:00
mouryarahul
1aa803a79d add script to test array initialisation 2020-11-20 23:31:37 +00:00
mouryarahul
a070f73267 add test script for filter and fft 2020-11-20 23:22:18 +00:00
mouryarahul
1c54e78eb8 minor change 2020-11-20 23:15:14 +00:00
mouryarahul
d2b5180328 add script for testing approx module 2020-11-20 23:02:34 +00:00
Zoltán Vörös
dcfee63c96 added circuitpython poly test 2020-11-20 15:09:30 +01:00
Zoltán Vörös
a7decc13bc added circuitpython compare tests 2020-11-20 15:07:26 +01:00
Zoltán Vörös
f08e276977 added circuitpython argmin/argmax test 2020-11-20 15:04:53 +01:00
Zoltán Vörös
b93c4b95ab split test scripts into numpy-compatible and circuitpy-compatible sets 2020-11-20 08:10:19 +01:00
Zoltán Vörös
050a63c455 updated exp files 2020-11-02 23:27:59 +01:00
Zoltán Vörös
ddd553f76f fixed slicing error 2020-10-21 07:12:25 +02:00
Zoltán Vörös
ca61961d22 fixed test scripts 2020-10-17 21:26:59 +02:00
Zoltán Vörös
6ff9d2cb04 add test script for compare module 2020-04-21 23:24:24 +02:00
470ea6578a add expected-output of tests 2020-04-13 15:29:45 -05:00
5fefea4871 add test 2020-04-13 15:28:49 -05:00
d41fb86fd0 add test of linspace 2020-04-06 08:36:25 -05:00
Zoltán Vörös
d55df3d4a0 added slicing2.py.exp to the test suite 2020-03-30 23:31:14 +02:00
c66509f66e add test of boolean slicing 2020-03-30 15:34:26 -05:00
Zoltán Vörös
47fd7964e8 generated .exp test files 2020-03-11 21:31:36 +01:00
Zoltán Vörös
e3a74453a8 trying to fix test routines 2020-03-11 18:53:06 +01:00
Zoltán Vörös
18d13e4252 added tests for inv, and det 2020-03-11 17:15:30 +01:00
Zoltán Vörös
cb1b1d352b added test files for the poly sub-module 2020-03-11 07:31:00 +01:00
Zoltán Vörös
c354657eda added test files for the Cholesky decomposition 2020-03-11 07:04:26 +01:00
Jeff Epler
903016ec44 slicing: add test of slice assignment
This tests that ulab and python3/numpy match on various slice assignments
that preserve the length of the array.  slice assignments that change
the length of the array are not tested.

Unlike the case of "load slice", this case of "modify slice" is not
compared to the built in list type, since "modify slice" is only
implemented in micropython for simple (stride=1) slices.
2020-02-29 17:11:56 -06:00
Jeff Epler
380b8b0347 Add new test of slicing
Closes: #32
2020-02-29 17:00:53 -06:00
Jeff Epler
ffff7606c8 fix tests after 'eye' was moved 2020-02-27 13:53:29 -06:00
Jeff Epler
83479f115b Move zeros(), ones() to base ulab module 2020-02-27 10:05:50 -06:00
102ba5032e add missing expected-file 2020-02-18 21:40:31 -06:00
b83ed3e2ca add more tests 2020-02-18 21:36:49 -06:00
70af1c8a77 fix test 2020-02-18 21:25:03 -06:00
a75903efe5 Add github actions
This will build micropython's master branch with ulab support, and
then run the tests in tests/

At this time, there's only one test and it's not very useful.
2020-02-15 19:57:50 -06:00