mirror of
https://github.com/tiffany352/rink-rs
synced 2024-09-20 14:12:00 +00:00
Test definition with doc
This commit is contained in:
parent
67e98857de
commit
a3e061f0ca
1 changed files with 9 additions and 0 deletions
|
@ -534,3 +534,12 @@ fn test_conversion_to_list() {
|
|||
Suggestions: divide left side by linear_density, multiply right side by linear_density",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_definition_with_doc() {
|
||||
test(
|
||||
"mass",
|
||||
"Definition: kilogram = base unit of mass. Equal to the mass of the \
|
||||
international prototype of the kilogram. 3rd CGPM (1901, CR, 70).",
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue