2f032b790bd3d0354f1d61de5dcadb2e469c1817
braney
  Tue Mar 10 17:42:42 2026 -0700
Add unit tests for mafFrag tool

Add test suite with 5 tests covering basic extraction, reverse strand,
custom outName, small region, and larger multi-block region using
hg38 multiz100way. Replace broken old test target that referenced
a missing expected.maf file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

diff --git src/hg/ratStuff/mafFrag/tests/expected/small.maf src/hg/ratStuff/mafFrag/tests/expected/small.maf
new file mode 100644
index 00000000000..c5d2901424e
--- /dev/null
+++ src/hg/ratStuff/mafFrag/tests/expected/small.maf
@@ -0,0 +1,5 @@
+##maf version=1 scoring=zero
+a score=0.000000
+s hg38.chr1 11000 10 + 248956422 aagcctacgg
+s panTro4       0 10 +        10 acgcctatgg
+