xo-ratio: + hapless test for ratio.to_str<>
This commit is contained in:
parent
8d4becef2b
commit
e0e6fb0e09
1 changed files with 6 additions and 0 deletions
|
|
@ -208,6 +208,12 @@ namespace xo {
|
|||
auto ratio1_str = ratio1.template to_str<20>();
|
||||
|
||||
log && log(XTAG(ratio1_str));
|
||||
|
||||
REQUIRE(!ratio1_str.empty());
|
||||
|
||||
/* TODO: more tests here --
|
||||
* if we write parser, verify can recover original ratio
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue