MCPcopy Index your code
hub / github.com/alignoth/alignoth / test_fetch_reference

Function test_fetch_reference

src/plot.rs:999–1011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

997
998 #[test]
999 fn test_fetch_reference() {
1000 let reference = read_fasta(
1001 "tests/sample_1/reference.fa",
1002 &Region {
1003 target: "chr1".to_string(),
1004 start: 0,
1005 end: 20,
1006 },
1007 )
1008 .unwrap();
1009 let expected_reference = "TTGCCGGGGTGGGGAGAGAG".chars().collect_vec();
1010 assert_eq!(reference, expected_reference);
1011 }
1012
1013 #[test]
1014 fn test_create_plot_data() {

Callers

nothing calls this directly

Calls 1

read_fastaFunction · 0.85

Tested by

no test coverage detected