mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
refactor, move test dep use into test mod
This commit is contained in:
parent
3c18b53a47
commit
7c39451138
2 changed files with 2 additions and 3 deletions
|
@ -137,6 +137,3 @@ pub use crate::source::Source;
|
|||
pub use crate::spatial_sink::SpatialSink;
|
||||
pub use crate::stream::{OutputStream, OutputStreamHandle, PlayError, StreamError};
|
||||
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate approx;
|
||||
|
|
|
@ -144,6 +144,8 @@ where
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use approx::assert_abs_diff_eq;
|
||||
|
||||
use super::*;
|
||||
use crate::buffer::SamplesBuffer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue