Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwursteisen committed Feb 7, 2024
1 parent ee5ecfb commit 43b1ae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class HeadlessPlatform(override val gameOptions: GameOptions, val resources: Map
}
}

override fun playBuffer(buffer: FloatArray) = Unit
override fun playBuffer(buffer: FloatArray, numberOfSamples: Int) = Unit
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SoundConverterTest {

val (lastBeat, result) = SoundConverter().prepareStrip(song)

assertEquals(1, lastBeat)
assertEquals(2, lastBeat)
assertEquals(2, result.size)
assertEquals(65, result[sine.name]!!.size)
assertEquals(65, result[pulse.name]!!.size)
Expand Down

0 comments on commit 43b1ae0

Please sign in to comment.