Changeset 3834
- Timestamp:
- Aug 8, 2019, 3:19:22 AM (4 years ago)
- Location:
- branches/0.16-stable/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.16-stable/test/Makefile.am
r3820 r3834 123 123 124 124 # tests not passing through yet 125 XFAIL_TESTS = 125 XFAIL_TESTS = test/gff.test 126 126 127 127 DISTRIBUTED_TESTS = \ -
branches/0.16-stable/test/data/small.gff2
r2482 r3834 2 2 #Chr Source Type Pos_Start Pos_End Score Strand Phase Attributes 3 3 chr3 yat SNP 904531 904531 0.000015 . . genotype "T or C";reference "C" 4 chr3 yat SNP 969190 969190 0.062500 . . genotype "T"; reference "C"4 chr3 yat SNP 969190 969190 0.062500 . . genotype "T"; reference "C" -
branches/0.16-stable/test/gff.cc
r2881 r3834 26 26 #include "yat/omic/GFF2.h" 27 27 #include "yat/omic/GFF3.h" 28 29 #include "yat/utility/Exception.h" 28 30 29 31 #include <cassert> … … 119 121 << "'; expected: 'T'\n"; 120 122 } 123 try { 124 if (gff.attribute("reference")!="C") { 125 suite.add(false); 126 suite.err() << "error: incorrect genotype: '" << gff.attribute("genotype") 127 << "'; expected: 'T'\n"; 128 } 129 } 130 catch (utility::runtime_error& e) { 131 suite.add(false); 132 suite.err() << "unexpected exception thrown: what: " << e.what() << "\n"; 133 } 121 134 is.close(); 122 135 }
Note: See TracChangeset
for help on using the changeset viewer.