()
| 84 | }); |
| 85 | |
| 86 | async function syncPointTestScore() { |
| 87 | // the testfile is built like this: |
| 88 | // we have the "expected" music sheet in syncpoints-testfile.gp |
| 89 | // this file is synchronized with an "actual" audio having completely different tempos. |
| 90 | // the file with wrong tempos used as backing track is in syncpoints-testfile-backingtrack.gp |
| 91 | |
| 92 | // the backing track takes 42secs while the original sound would take 48secs |
| 93 | |
| 94 | const data = await TestPlatform.loadFile('test-data/audio/syncpoints-testfile.gp'); |
| 95 | const score = ScoreLoader.loadScoreFromBytes(data, new Settings()); |
| 96 | return score; |
| 97 | } |
| 98 | |
| 99 | it('sync-point-generation', async () => { |
| 100 | const score = await syncPointTestScore(); |
no test coverage detected