()
| 284 | |
| 285 | #[test] |
| 286 | fn u256_function() { |
| 287 | run_example( |
| 288 | " |
| 289 | function add_a_lot(a:u256) -> b:u256 { |
| 290 | let b:u256 := 100 |
| 291 | if eq(a, 100) { |
| 292 | b := add(a, 18446744073709551616) |
| 293 | } |
| 294 | } |
| 295 | let z:u256 := add_a_lot(100) |
| 296 | let b := 4 |
| 297 | z |
| 298 | ", |
| 299 | MidenResult::U256(U256::from_dec_str("18446744073709551716").unwrap()), |
| 300 | ); |
| 301 | } |
| 302 | |
| 303 | #[test] |
| 304 | fn u256_sum_odds() { |
nothing calls this directly
no test coverage detected