nukopy_hack_assembler/
lib.rs

1pub fn run() {
2    println!("Hello, hack-assembler!");
3}
4
5pub fn add(a: i32, b: i32) -> i32 {
6    a + b
7}
8
9#[test]
10fn test_add() {
11    // given
12    let a = 2;
13    let b = 3;
14    // when
15    let result = add(a, b);
16    // then
17    assert_eq!(result, 5);
18}