()
| 56 | |
| 57 | #[test] |
| 58 | fn condition_true() { |
| 59 | let mut parser = Statement::new().unwrap(); |
| 60 | let result = parser.parse_and_execute("[if(true, 'left', 'right')]", &Context::new()).unwrap(); |
| 61 | assert_eq!(result, "left"); |
| 62 | } |
| 63 | |
| 64 | #[test] |
| 65 | fn condition_false() { |
nothing calls this directly
no test coverage detected