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.

贡献者指南