crate::ix!();
pub struct Tester {
ok: bool,
fname: *const u8,
line: i32,
ss: Box<dyn std::io::Write>,
}
impl Drop for Tester {
fn drop(&mut self) {
todo!();
}
}
macro_rules! binary_op {
($name:ident, $op:tt) => {
}
}
binary_op!{ IsEq, == }
binary_op!{ IsNe, != }
binary_op!{ IsGe, >= }
binary_op!{ IsGt, > }
binary_op!{ IsLe, <= }
binary_op!{ IsLt, < }
impl Tester {
pub fn new(
f: *const u8,
l: i32) -> Self {
todo!();
}
pub fn is(&mut self,
b: bool,
msg: *const u8) -> &mut Tester {
todo!();
}
pub fn is_ok(&mut self, s: &Status) -> &mut Tester {
todo!();
}
}
impl<V> Shl<&V> for Tester {
type Output = Tester;
#[inline] fn shl(self, rhs: &V) -> Self::Output {
todo!();
}
}
macro_rules! assert_true {
($c:ident) => {
}
}
macro_rules! assert_ok {
($s:ident) => {
}
}
macro_rules! assert_eq {
($a:ident, $b:ident) => {
}
}
macro_rules! assert_ne {
($a:ident, $b:ident) => {
}
}
macro_rules! assert_ge {
($a:ident, $b:ident) => {
}
}
macro_rules! assert_gt {
($a:ident, $b:ident) => {
}
}
macro_rules! assert_le {
($a:ident, $b:ident) => {
}
}
macro_rules! assert_lt {
($a:ident, $b:ident) => {
}
}
macro_rules! tconcat {
($a:ident, $b:ident) => {
}
}
macro_rules! tconcat1 {
($a:ident, $b:ident) => {
}
}
macro_rules! test {
($base:ident, $name:ident) => {
}
}
pub struct Test {
base: *const u8,
name: *const u8,
func: fn() -> c_void,
}
lazy_static!{
}
pub fn register_test(
base: *const u8,
name: *const u8,
func: fn() -> c_void) -> bool {
todo!();
}
pub fn run_all_tests() -> i32 {
todo!();
}
pub fn tmp_dir() -> String {
todo!();
}
pub fn random_seed() -> i32 {
todo!();
}