Skip to content

Improve tests #41

@mgeier

Description

@mgeier
  • we shouldn't write a file with PySoundFile and then test reading it with PySoundFile. If there is a systematic error in reading and writing, we won't find it
  • we shouldn't write a file in each test case. It would be better to create one (or few) very small test file(s) that we ship with the repo (just a few hundred bytes). We should only write files when we're testing writing files.
  • we shouldn't fill the test file with copies of the same number. The samples should be different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions