()
| 1061 | |
| 1062 | #[test] |
| 1063 | fn test_create_plot_data_2() { |
| 1064 | let len = get_fasta_length(&PathBuf::from("tests/sample_3/ref.fa"), "1").unwrap(); |
| 1065 | let region = Region { |
| 1066 | target: "1".to_string(), |
| 1067 | start: 1, |
| 1068 | end: len as i64, |
| 1069 | }; |
| 1070 | let result = create_plot_data( |
| 1071 | "tests/sample_3/NA12878.bam", |
| 1072 | "tests/sample_3/ref.fa", |
| 1073 | ®ion, |
| 1074 | 500, |
| 1075 | None, |
| 1076 | 0.0, |
| 1077 | ); |
| 1078 | assert!(result.is_ok()); |
| 1079 | } |
| 1080 | |
| 1081 | #[test] |
| 1082 | fn test_create_plot_data_with_clipped_read() { |
nothing calls this directly
no test coverage detected