Commit Graph

25 Commits

Author SHA1 Message Date
Nguyễn Gia Phong c216f307ef Fix incorrect multivalue return type
This fixes GH-107 and supersedes and closes GH-108.
2020-06-02 10:42:53 +07:00
Ngô Xuân Minh 8285eb06c5
PEP 257 compliance
Rework docstrings following PEP 257
2020-05-12 22:38:18 +07:00
Ngô Xuân Minh c59d0ec169
Fix ReverbEffect
Resolve GH-88
2020-05-04 22:32:03 +07:00
Ngô Xuân Minh b39aaa9903
Fix ChorusEffect (#91)
To make properties properly raise ValueError
2020-05-03 20:53:57 +07:00
Nguyễn Gia Phong 11cda099a3
Opt in Travis CI testing for Python 3.6 on macOS
/r/oddlyspecific
2020-05-03 20:00:44 +07:00
Nguyễn Gia Phong 7ff1d8f1d7 Complete tests for context and fix discovered bugs
Namely the impliit use without checking of current_context
which can cause segfault if it is None.
2020-04-30 17:01:00 +07:00
Ngô Xuân Minh e62989fa2b
Intuitively implement properties of ChorusEffect (#90)
Intuitively implement properties of ChorusEffect and add docstrings.
2020-04-28 23:15:22 +07:00
Huy Ngo b884a07903 Add tests for ChorusEffect 2020-04-27 13:52:35 +07:00
Huy Ngo fdec565aaf Add tests for ReverbEffect 2020-04-27 13:52:01 +07:00
Ngô Ngọc Đức Huy b2329a1428
Fixing some small mistakes made in 9de664a (#86) 2020-04-26 09:49:30 +07:00
Nguyễn Gia Phong 9de664a750 Make effects properties more intuitive (fix GH-85)
Additionally run flake8 within pytest by default for better CI experience.
2020-04-25 21:33:17 +07:00
Ngô Ngọc Đức Huy 88c5b0b57a
Add some tests for Effect (#84)
Only reverb_properties and chorus_properties are not tested
2020-04-25 17:15:16 +07:00
Nguyễn Gia Phong 5ce35416c7 Opt macOS out of automated testing entirely
I spent too much time to day fixing up macOS related issue,
when the wheel for it is not even built properly, so I decide
to solve it all together next time.
2020-04-24 20:14:24 +07:00
Nguyễn Gia Phong 2218d192cb Test message handling 2020-04-24 17:46:54 +07:00
Nguyễn Gia Phong d575e5e15a Complete unit tests for Source and clean up 2020-04-24 09:15:07 +07:00
Nguyễn Gia Phong e95dad16bf
Allow examples to fail on macOS CI 2020-04-23 13:29:17 +07:00
Nguyễn Gia Phong 944dd067eb Make functional tests run faster
This resolves GH-81.
2020-04-22 22:34:53 +07:00
Ngô Ngọc Đức Huy 6148318585
Add functional tests (#79)
Add functional tests
2020-04-22 01:25:09 +07:00
Ngô Xuân Minh 8972112d16
Implement test listener (#76)
Implement test for listener class
2020-04-17 08:53:10 +07:00
Ngô Xuân Minh a25c93bbb1
Nitpick test_source, implement test_context. (#70)
Implement test_context

Tests that have implemented:
* async wake interval
* default resampler index
* doppler factor
* speed of sound
* distance model
2020-04-13 21:53:30 +07:00
Nguyễn Gia Phong d05d46cbf4 Nitpick
* Destroy buffer in stdec example after use
* Prefer pass-by-reference in C++
* Prefer Python-style type annotation
* Avoid iterator of C++ object wrappers
* Make Source comparable
* Fix GH-22
2020-03-19 11:59:28 +07:00
Nguyễn Gia Phong 16bdb47c5a Improve tests
Namely avoiding sharing testing object and completing test for #41.
2020-03-05 22:19:23 +07:00
Nguyễn Gia Phong 308671bc40 Fix reference count and reference of message handler
This should close #41.
2020-03-05 15:17:22 +07:00
Huy Ngo 0d095c5974 Write tests for the Context class 2020-02-26 17:02:24 +07:00
Nguyễn Gia Phong 3655f2bc75 Use pytest for Source's read-write properties 2020-02-06 20:30:36 +07:00