1use wasm_bindgen::prelude::*; 2 3#[cfg(test)] 4mod tests { 5 use crate::is_computer_on; 6 #[test] 7 fn the_computer_is_on() { 8 assert_eq!(is_computer_on(), true); 9 } 10} 11 12#[wasm_bindgen] 13pub fn is_computer_on() -> bool { 14 return true; 15}