broadinstitute / gamgee

A C++14 library for NGS data formats
http://broadinstitute.github.io/gamgee/
MIT License
40 stars 13 forks source link

VariantBuilderMultiSampleVector: add debug-mode bounds checking #401

Closed droazen closed 10 years ago

droazen commented 10 years ago

Bounds checking in production builds was deemed too expensive for VariantBuilderMultiSampleVector's set_sample_value(s) functions, so I've added these debug-mode-only asserts to catch out-of-bounds accesses during development.

Resolves #390

coveralls commented 10 years ago

Coverage Status

Coverage increased (+9.11%) when pulling 4f7f62b6250b769540b1936e0d8b148272140639 on dr_VariantBuilderMultiSampleVector_bounds_checking into 12f7053344ef4bffdece93d3530b834b08321425 on master.