1pub mod cli;
2pub mod discovery;
3pub mod filter;
4pub mod runner;
5
6pub use cli::{CargoCli, CargoSubcommand, TestFilterArgs};
7pub use discovery::{TestDiscovery, TestFunction, TestTarget, TestType};
8pub use filter::TestFilter;
9pub use runner::TestRunner;
10
11#[cfg(test)]
12mod tests {
13 #[test]
16 fn test_basic_math() {
17 assert_eq!(2 + 2, 4);
18 }
19
20 #[test]
22 fn test_string_operations() {
23 let s = "hello".to_string();
24 assert_eq!(s.len(), 5);
25 }
26
27 #[test]
30 fn test_complex_computation() {
31 let result = (1..100).sum::<i32>();
32 assert_eq!(result, 4950);
33 }
34}