mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
fix(vm): the tests were broken, but not code
This commit is contained in:
parent
cc80fe7317
commit
185173c821
@ -11,6 +11,7 @@ import (
|
|||||||
func TestPatternReusing(t *testing.T) {
|
func TestPatternReusing(t *testing.T) {
|
||||||
song := sointu.Song{
|
song := sointu.Song{
|
||||||
Score: sointu.Score{
|
Score: sointu.Score{
|
||||||
|
Length: 2,
|
||||||
RowsPerPattern: 8,
|
RowsPerPattern: 8,
|
||||||
Tracks: []sointu.Track{{
|
Tracks: []sointu.Track{{
|
||||||
Patterns: [][]byte{{64, 1, 1, 1, 0, 0, 0, 0}, {72, 0, 0, 0, 0, 0, 0, 0}},
|
Patterns: [][]byte{{64, 1, 1, 1, 0, 0, 0, 0}, {72, 0, 0, 0, 0, 0, 0, 0}},
|
||||||
@ -38,6 +39,7 @@ func TestPatternReusing(t *testing.T) {
|
|||||||
func TestUnnecessaryHolds(t *testing.T) {
|
func TestUnnecessaryHolds(t *testing.T) {
|
||||||
song := sointu.Song{
|
song := sointu.Song{
|
||||||
Score: sointu.Score{
|
Score: sointu.Score{
|
||||||
|
Length: 2,
|
||||||
RowsPerPattern: 8,
|
RowsPerPattern: 8,
|
||||||
Tracks: []sointu.Track{{
|
Tracks: []sointu.Track{{
|
||||||
Patterns: [][]byte{{64, 1, 1, 1, 0, 1, 0, 0}, {72, 0, 1, 0, 1, 0, 0, 0}},
|
Patterns: [][]byte{{64, 1, 1, 1, 0, 1, 0, 0}, {72, 0, 1, 0, 1, 0, 0, 0}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user