21 Commits

Author SHA1 Message Date
Felix Roos
c3d6de2412
Merge pull request #243 from tidalcycles/shared-tests
snapshot tests on shared snippets
2022-11-06 11:05:23 +01:00
Felix Roos
866277510e fix: samples function did not work in tests 2022-11-06 00:44:23 +01:00
Felix Roos
e5f38dbbc6 dbdump script 2022-11-04 17:30:19 +01:00
Felix Roos
37c45424fd all shared tests now pass 2022-11-03 18:57:27 +01:00
Felix Roos
ed44f4ed0c add shared tunes test 2022-11-03 16:18:29 +01:00
Felix Roos
fbb3d144a1 hotfix: missing note calls in some tunes 2022-10-29 18:07:46 +02:00
Felix Roos
2c14514c56 update snapshot 2022-10-26 21:37:41 +02:00
Felix Roos
c5342d3eb0 snaps 2022-09-25 16:40:50 +02:00
Alex McLean
513e0d748d
focus tweak for squeezeJoin - another go at fixing #216 (#221)
Fixes squeezeJoin, and in the process struct/keepif. fixes #216

Co-authored-by: Felix Roos <flix91@gmail.com>
2022-09-24 23:27:25 +01:00
Felix Roos
5c99b72e2f Merge remote-tracking branch 'origin/HEAD' into feedbackdelay 2022-09-22 19:22:08 +02:00
Felix Roos
d21734ccf2 update snapshots 2022-09-22 19:15:53 +02:00
Felix Roos
d3645f6c63 fix tests 2022-09-18 22:42:30 +02:00
Bradford Powell
58dc46b445 change "stride"/"offset" of successive degradeBy/chooseIn
This avoids (without fixing) #184).

Note that the offset in tidal is currently 0.0001, but using this
would result in excess correlation between sequential uses of
random, which would manifest in failure of the 'supports the randome
choice operator with nesting' test. So I just used 0.0002 instead
2022-08-13 21:55:17 -04:00
Felix Roos
f955d77d71 use vitest snapshot feature for tunes 2022-08-10 00:17:58 +02:00
Felix Roos
235e82a348 make tests a little bit faster 2022-08-09 23:28:36 +02:00
Felix Roos
22c60fb894 move tunes test to vitest 2022-08-09 23:08:01 +02:00
Felix Roos
563dfbea43 remove mocha from packages 2022-08-06 12:30:14 +02:00
Felix Roos
488ebf8f1a replace old tests
+ ignore tune test for now
+ add happy-dom
2022-08-06 12:22:11 +02:00
Felix Roos
a119b83b65 more readable tune test + longer snaps 2022-05-01 23:13:54 +02:00
Felix Roos
c939a8a0c1 fix shoot 2022-05-01 22:47:58 +02:00
Felix Roos
6cac8ba108 basic snapshot test for tunes 2022-05-01 22:34:11 +02:00