From 426c5edf2530e781fa8ebfaf5d24b0f4885f21ca Mon Sep 17 00:00:00 2001 From: Luke Heerman <43624284+heerman@users.noreply.github.com> Date: Fri, 27 Dec 2024 07:43:41 -0500 Subject: [PATCH] Update tests snapshot --- test/__snapshots__/examples.test.mjs.snap | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/test/__snapshots__/examples.test.mjs.snap b/test/__snapshots__/examples.test.mjs.snap index 6dce5739..88a72883 100644 --- a/test/__snapshots__/examples.test.mjs.snap +++ b/test/__snapshots__/examples.test.mjs.snap @@ -967,8 +967,22 @@ exports[`runs examples > example "begin" example index 0 1`] = ` ] `; +exports[`runs examples > example "binary +Creates a pattern from a binary number." example index 0 1`] = ` +[ + "[ 0/1 → 1/3 | s:hh ]", + "[ 2/3 → 1/1 | s:hh ]", + "[ 1/1 → 4/3 | s:hh ]", + "[ 5/3 → 2/1 | s:hh ]", + "[ 2/1 → 7/3 | s:hh ]", + "[ 8/3 → 3/1 | s:hh ]", + "[ 3/1 → 10/3 | s:hh ]", + "[ 11/3 → 4/1 | s:hh ]", +] +`; + exports[`runs examples > example "binaryN -Creates a discrete pattern using binary representation." example index 0 1`] = ` +Creates a pattern from a binary number, padded to n bits long." example index 0 1`] = ` [ "[ 0/1 → 1/16 | s:hh ]", "[ 1/16 → 1/8 | s:hh ]",