Extend test for `fractional` in `write_gen`
This MR is to add comprehensive tests for the new options fractional
and in wrap
write_gen
in !2756 (merged). After that MR is merged, the pipelines of this MR should also pass (confirmed locally on my laptop).
Edited by Yuji Ikeda