()
| 14 | |
| 15 | #[tokio::test] |
| 16 | async fn test_validate_success() { |
| 17 | let (peg_in_graph, peg_out_graph, _, esplora) = setup_and_create_graphs().await; |
| 18 | |
| 19 | let is_peg_in_data_valid = peg_in_graph.validate(); |
| 20 | let is_peg_out_data_valid = peg_out_graph.validate(&esplora).await; |
| 21 | |
| 22 | assert!(is_peg_in_data_valid.is_ok()); |
| 23 | assert!(is_peg_out_data_valid.is_ok()); |
| 24 | } |
| 25 | |
| 26 | #[tokio::test] |
| 27 | async fn test_validate_invalid_previous_output() { |
nothing calls this directly
no test coverage detected