crisishistory/HistoryAIToolkit

Write a minimal test for slicing the simplest wav file

Open

#62 建立於 2023年10月6日

在 GitHub 查看
 (3 留言) (0 反應) (1 負責人)Python (18 fork)github user discovery
good first issuehacktoberfest-acceptedhelp wanted

倉庫指標

Star
 (13 star)
PR 合併指標
 (PR 指標待抓取)

描述

  • Familiarize yourself with the very basics of pytest
  • Create the file tests/test_slicer.py
  • Define a test in test_slicer.py called test_audio_slicing
  • In your test, create a simple wav file per https://stackoverflow.com/a/57192182/271697
  • In your test, call audio_slicing() with your wav file and verify that the slices are created

If you have more experience with pytest and want to use fixtures, etc. you can, or you can just write the simplest possible test per above and we can iterate later.

貢獻者指南