crisishistory/HistoryAIToolkit
View on GitHubWrite a minimal test for slicing the simplest wav file
Open
#62 opened on Oct 6, 2023
good first issuehacktoberfest-acceptedhelp wanted
Repository metrics
- Stars
- (13 stars)
- PR merge metrics
- (PR metrics pending)
Description
- 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.