You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
use crate::format::mathml::ToMathML;
|
|
use crate::parse;
|
|
|
|
#[test]
|
|
fn it_renders_roots() {
|
|
let expr = parse("root 3 16".to_string());
|
|
assert_eq!(
|
|
expr.to_mathml(),
|
|
"<mrow><mroot><mn>16</mn><mn>3</mn></mroot></mrow>"
|
|
)
|
|
}
|