1
2
3
4
5
6
use rand::prelude::*;

pub fn add_one(x: i32) -> i32 {
    let r: i32 = random();
    return x + 1 + r;
}