use crate::common::*;
#[test]
fn msqrt_simple() {
let expr = "";
test("sv", "ClearSpeak", expr, "kvadratroten ur x,");
}
#[test]
fn msqrt_simple_end_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "RootEnd", expr, "kvadratroten ur x, slut rot;");
}
#[test]
fn msqrt_simple_positive() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "PosNegSqRoot", expr, "positiva kvadratroten ur x,");
}
#[test]
fn msqrt_simple_pos_end_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "PosNegSqRootEnd", expr, "positiva kvadratroten ur x, slut rot;");
}
#[test]
fn msqrt_simple_pos_end_with_neg_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "PosNegSqRootEnd", expr,
"negativa kvadratroten ur x, slut rot; minus, positiva kubikroten ur x, slut rot;");
}
#[test]
fn mroot_simple_pos_end_with_neg_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "PosNegSqRoot", expr,
"negativa kubikroten ur x; minus positiva kvadratroten ur x,");
}
#[test]
fn neg_without_root() {
let expr = "";
test("sv", "ClearSpeak", expr, "minus x minus y");
}
#[test]
fn msqrt() {
let expr = "";
test("sv", "ClearSpeak", expr, "kvadratroten ur x plus y;");
}
#[test]
fn mroot_as_square_root() {
let expr = "";
test("sv", "ClearSpeak", expr, "kvadratroten ur x,");
}
#[test]
fn cube_root() {
let expr = "";
test("sv", "ClearSpeak", expr, "kubikroten ur x,");
}
#[test]
fn ordinal_root() {
let expr = "";
test("sv", "ClearSpeak", expr, "nionde roten ur x,");
}
#[test]
fn simple_mi_root() {
let expr = "";
test("sv", "ClearSpeak", expr, "roten av grad n ur x,");
}
#[test]
fn mroot_simple_pos_end_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "PosNegSqRootEnd", expr, "positiva roten av grad t ur x, slut rot;");
}
#[test]
fn mroot_simple_end_root() {
let expr = "";
test_ClearSpeak("sv", "ClearSpeak_Roots", "RootEnd", expr, "tjugo första roten ur x plus y, slut rot;");
}
#[test]
fn simple_fraction_power() {
let expr = "";
test("sv", "ClearSpeak", expr, "roten av grad, en tredjedel ur x,");
}