1 2 3 4 5 6 7 8 9 10
use traits::TryInto; use core::option::OptionTrait; fn program(lhs: u8, rhs: u8) -> bool { lhs == rhs } fn run_test(lhs: felt252, rhs: felt252) -> bool { program(lhs.try_into().unwrap(), rhs.try_into().unwrap()) }