Skip to main content

public_lib/
lib.rs

1pub fn public_fn(my_other_input: u64) -> u64 {
2    my_other_input
3}
4
5#[cfg(test)]
6mod tests {
7    use crate::public_fn;
8
9    #[test]
10    fn validate() {
11        assert_eq!(public_fn(1), 1);
12    }
13}