1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
pub struct Simulator; impl Simulator { pub fn new(_top: &str) -> Self { Self } pub fn set(&mut self, _port: &str, _value: usize) {} pub fn get(&mut self, _port: &str) -> usize { 0 } pub fn step(&mut self) {} } #[cfg(test)] mod tests;