1#![doc(hidden)]
16
17#[macro_export]
19macro_rules! test_file {
20 ($file_name:expr) => {
21 $crate::test::File {
22 file_name: $file_name,
23 contents: include_str!($file_name),
24 }
25 };
26}
27
28pub use crate::testutil::{
29 compile_time_assert_clone, compile_time_assert_copy, compile_time_assert_eq,
30 compile_time_assert_send, compile_time_assert_sync, from_hex, run, File, TestCase,
31};
32
33#[cfg(feature = "std")]
34pub use crate::testutil::compile_time_assert_std_error_error;
35
36#[deprecated(note = "internal API that will be removed")]
37#[doc(hidden)]
38pub mod rand {
39 #[deprecated(note = "internal API that will be removed")]
40 pub type FixedByteRandom = crate::testutil::rand::FixedByteRandom;
41 #[deprecated(note = "internal API that will be removed")]
42 pub type FixedSliceRandom<'a> = crate::testutil::rand::FixedSliceRandom<'a>;
43 #[deprecated(note = "internal API that will be removed")]
44 pub type FixedSliceSequenceRandom<'a> = crate::testutil::rand::FixedSliceSequenceRandom<'a>;
45}