None of the tests for the Circular Buffer exercise use write! with a nil argument or on a buffer that isn't full. I'm assuming that in both cases write! should perform identically to write, but many simple implementations of write! are likely to get these cases wrong.
I'd be happy to add test cases to address those issues myself!
None of the tests for the Circular Buffer exercise use
write!with anilargument or on a buffer that isn't full. I'm assuming that in both caseswrite!should perform identically towrite, but many simple implementations ofwrite!are likely to get these cases wrong.I'd be happy to add test cases to address those issues myself!