// Based on UEB test cases and apply for Vietnamese Math Braille cases.
// Many test cases are taken from the official Vietnamese Braille code 2019, and from Mr. Nguyễn Quyết Thắng, a blind math teacher at Saigon NDC school for the blind.
// Functions are named as its type + section number.
use crate::common::*;
#[test]
fn subset_1a() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠁⠐⠶⠸⠣⠼⠁⠆⠼⠃⠆⠼⠉⠆⠼⠙⠆⠼⠑⠆⠄⠄⠄⠆⠼⠁⠚⠚⠸⠜");
}
#[test]
fn subset_1b() {
let expr = "";
test_braille("Vietnam", expr, "⠭⠈⠑⠨⠝⠸⠳⠼⠁⠐⠪⠶⠭⠐⠪⠶⠼⠁⠚");
}
#[test]
fn subset_1c() {
let expr = "";
test_braille("Vietnam", expr, "⠘⠁⠭⠈⠑⠨⠗⠸⠳⠭⠔⠼⠃⠐⠕⠶⠼⠚");
}
#[test]
fn subset_1d() {
let expr = "";
test_braille("Vietnam", expr, "⠘⠑⠭⠈⠑⠨⠗⠸⠳⠭⠔⠼⠃⠐⠪⠶⠼⠚");
}
#[test]
fn subset_1e() {
let expr = "";
test_braille("Vietnam", expr, "⠭⠈⠑⠈⠨⠝");
}
#[test]
fn subset_1f() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠁⠘⠣⠨⠃");
}
#[test]
fn subset_1g() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠃⠘⠜⠨⠁");
}
#[test]
fn subset_1h() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠁⠨⠦⠨⠃⠐⠶⠈⠚");
}
#[test]
fn subset_1i() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠁⠐⠶⠨⠃⠨⠖⠨⠉");
}
#[test]
fn subset_1j() {
let expr = "";
test_braille("Vietnam", expr, "⠘⠁⠝⠈⠑⠨⠝⠸⠳⠼⠃⠝⠣⠴⠜⠼⠃");
}
#[test]
fn subset_1k() {
let expr = "";
test_braille("Vietnam", expr, "⠘⠑⠭⠈⠑⠨⠟⠸⠳⠼⠉⠭⠣⠼⠜⠼⠉");
}
#[test]
fn subset_1l() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠙⠐⠶⠨⠗⠸⠡⠸⠣⠼⠁⠆⠼⠃⠸⠜");
}
#[test]
fn frac_2a() {
let expr = "";
test_braille("Vietnam", expr, "⠼⠁⠌⠃⠐⠖⠼⠉⠌⠙⠐⠤⠼⠉⠌⠛");
}
#[test]
fn drop_frac_2a() {
let expr = "";
libmathcat::set_rules_dir(abs_rules_dir_path()).unwrap();
libmathcat::set_preference("Vietnam_UseDropNumbers".to_string(), "true".to_string()).unwrap();
test_braille("Vietnam", expr, "⠼⠁⠆⠐⠖⠼⠉⠲⠐⠤⠼⠉⠶");
}
#[test]
fn frac_2b() {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠌⠉⠐⠦⠈⠣⠼⠃⠌⠑⠐⠤⠼⠙⠌⠊⠈⠜⠐⠲⠼⠛⠌⠁⠑");
}
#[test]
fn frac_2c() {
let expr = "";
test_braille("Vietnam", expr, "⠆⠭⠐⠖⠼⠃⠌⠭⠐⠤⠼⠃⠰⠐⠶⠆⠼⠃⠭⠐⠤⠼⠁⠌⠼⠙⠭⠐⠖⠼⠉⠰");
}
#[test]
fn exponent_3a () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠔⠼⠉⠐⠖⠼⠃⠔⠼⠙⠐⠤⠼⠃⠔⠼⠃⠚⠃⠃");
}
#[test]
fn exponent_3b () {
let expr = "";
test_braille("Vietnam", expr, "⠈⠣⠭⠐⠖⠼⠃⠈⠜⠔⠼⠉⠐⠶⠭⠔⠼⠉⠐⠖⠼⠋⠭⠔⠼⠃⠐⠖⠼⠁⠃⠭⠐⠖⠼⠓");
}
#[test]
fn exponent_3c () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠌⠉⠔⠼⠑⠐⠦⠼⠉⠌⠃⠔⠼⠑⠐⠶⠼⠁");
}
#[test]
fn exponent_3d () {
let expr = "";
test_braille("Vietnam", expr, "⠆⠭⠔⠼⠃⠐⠖⠭⠐⠖⠼⠁⠌⠼⠁⠌⠉⠭⠐⠤⠼⠁⠰");
}
#[test]
fn exponent_3e () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠔⠣⠼⠃⠭⠐⠖⠼⠁⠱⠐⠤⠼⠉⠐⠦⠼⠃⠔⠭⠐⠖⠼⠁⠐⠶⠼⠚");
}
#[test]
fn exponent_3f () {
let expr = "";
test_braille("Vietnam", expr, "⠳⠪⠶⠕⠼⠃⠐⠦⠼⠃⠔⠣⠼⠃⠭⠱⠐⠤⠼⠉⠐⠦⠼⠃⠔⠭⠐⠖⠼⠁⠐⠶⠼⠚");
}
#[test]
fn exponent_3g () {
let expr = "";
test_braille("Vietnam", expr, "⠞⠐⠶⠼⠃⠔⠭");
}
#[test]
fn exponent_3h () {
let expr = "";
test_braille("Vietnam", expr, "⠈⠣⠞⠐⠕⠶⠼⠚⠈⠜");
}
#[test]
fn exponent_3i () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠞⠔⠼⠃⠐⠤⠼⠉⠞⠐⠖⠼⠁⠐⠶⠼⠚");
}
#[test]
fn exponent_3j () {
let expr = "";
test_braille("Vietnam", expr, "⠞⠐⠶⠼⠁⠳⠪⠶⠕⠼⠃⠔⠭⠐⠶⠼⠁⠳⠪⠶⠕⠭⠐⠶⠼⠚");
}
#[test]
fn exponent_3k () {
let expr = "";
test_braille("Vietnam", expr, "⠞⠐⠶⠼⠁⠌⠃⠐⠶⠼⠃⠔⠭⠐⠶⠼⠁⠌⠃⠳⠪⠶⠕⠭⠐⠶⠐⠤⠼⠁");
}
#[test]
fn log_b1 () {
let expr = "";
test_braille("Vietnam", expr, "⠇⠕⠛⠢⠼⠃⠭⠐⠖⠼⠁⠐⠖⠇⠕⠛⠢⠼⠃⠭⠐⠖⠼⠃⠐⠶⠇⠕⠛⠢⠼⠃⠼⠃");
}
#[test]
fn root_4a () {
let expr = "";
test_braille("Vietnam", expr, "⠩⠼⠃⠱⠐⠖⠩⠼⠉⠱⠐⠤⠩⠼⠑⠱");
}
#[test]
fn root_4b () {
let expr = "";
test_braille("Vietnam", expr, "⠩⠔⠼⠉⠼⠃⠛⠱⠐⠖⠩⠔⠼⠑⠼⠉⠃⠱");
}
#[test]
fn root_4c () {
let expr = "";
test_braille("Vietnam", expr, "⠩⠭⠐⠖⠼⠁⠱⠐⠖⠩⠭⠐⠖⠼⠉⠱");
}
#[test]
fn root_4d () {
let expr = "";
test_braille("Vietnam", expr, "⠆⠩⠭⠱⠐⠖⠼⠉⠌⠼⠃⠭⠐⠖⠼⠉⠰⠐⠖⠆⠼⠑⠌⠭⠐⠖⠼⠃⠩⠭⠱⠐⠤⠼⠑⠰⠐⠖⠩⠼⠁⠌⠃⠭⠐⠖⠼⠉⠌⠃⠱");
}
#[test]
fn quadratic_5a1 () {
let expr = "";
test_braille("Vietnam", expr, "⠁⠭⠔⠼⠃⠐⠖⠃⠭⠐⠖⠉⠐⠶⠼⠚⠀⠈⠣⠁⠐⠾⠼⠚⠈⠜");
}
#[test]
fn quadratic_5a2 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠙⠐⠶⠃⠔⠼⠃⠐⠤⠼⠙⠠⠁⠉");
}
#[test]
fn quadratic_5a3 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠙⠐⠪⠼⠚");
}
#[test]
fn quadratic_5a4 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠙⠐⠶⠼⠚");
}
#[test]
fn quadratic_5a5 () {
let expr = "";
test_braille("Vietnam", expr, "⠭⠢⠼⠁⠐⠶⠭⠢⠼⠃⠐⠶⠆⠐⠤⠃⠌⠼⠃⠠⠁⠰");
}
#[test]
fn quadratic_5a6 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠙⠐⠕⠼⠚");
}
#[test]
fn quadratic_5a7 () {
let expr = "";
test_braille("Vietnam", expr, "⠭⠢⠼⠁⠐⠶⠆⠐⠤⠃⠐⠖⠩⠸⠙⠱⠌⠼⠃⠠⠁⠰");
}
#[test]
fn quadratic_5a8 () {
let expr = "";
test_braille("Vietnam", expr, "⠭⠢⠼⠃⠐⠶⠆⠐⠤⠃⠐⠤⠩⠸⠙⠱⠌⠼⠃⠠⠁⠰");
}
#[test]
fn sin_7 () {
let expr = "";
test_braille("Vietnam", expr, "⠻⠎⠨⠃⠐⠶⠆⠸⠁⠉⠌⠸⠃⠉⠰");
}
#[test]
fn cos_7 () {
let expr = "";
test_braille("Vietnam", expr, "⠻⠉⠨⠃⠐⠶⠆⠸⠁⠃⠌⠸⠃⠉⠰");
}
#[test]
fn tan_7 () {
let expr = "";
test_braille("Vietnam", expr, "⠻⠞⠨⠃⠐⠶⠆⠸⠁⠉⠌⠸⠁⠃⠰");
}
#[test]
fn cot_7 () {
let expr = "";
test_braille("Vietnam", expr, "⠻⠉⠞⠨⠃⠐⠶⠆⠸⠁⠃⠌⠸⠁⠉⠰");
}
#[test]
fn sincos_7e () {
let expr = "";
test_braille("Vietnam", expr, "⠻⠎⠭⠐⠖⠻⠉⠭⠐⠶⠩⠼⠃⠱⠻⠎⠈⠣⠭⠐⠖⠆⠰⠏⠌⠼⠙⠰⠈⠜");
}
#[test]
fn lim_8a () {
let expr = "";
test_braille("Vietnam", expr, "⠇⠊⠍⠢⠣⠭⠳⠕⠼⠕⠱⠆⠭⠔⠼⠃⠐⠖⠼⠉⠭⠐⠖⠼⠁⠌⠼⠉⠭⠔⠼⠃⠐⠤⠼⠙⠰");
}
#[test]
fn prime_9a () {
let expr = "";
test_braille("Vietnam", expr, "⠽⠄⠐⠶⠼⠃⠭⠐⠖⠼⠉");
}
#[test]
fn integral_9b () {
let expr = "";
test_braille("Vietnam", expr, "⠾⠭⠔⠼⠃⠐⠖⠼⠉⠭⠐⠖⠼⠃⠠⠙⠭");
}
#[test]
fn integral_9c () {
let expr = "";
test_braille("Vietnam", expr, "⠾⠢⠼⠚⠔⠆⠰⠏⠌⠼⠙⠰⠻⠎⠔⠼⠃⠭⠙⠭");
}
#[test]
fn angle_10a () {
let expr = "";
test_braille("Vietnam", expr, "⠫⠛⠸⠁⠃⠉⠐⠶⠼⠙⠚⠔⠚");
}
#[test]
fn parallel_10b () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠁⠃⠫⠶⠸⠉⠙");
}
#[test]
fn perp_10b1 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠎⠁⠫⠧⠈⠣⠸⠁⠃⠉⠙⠈⠜");
}
#[test]
fn vector_10c () {
let expr = "";
test_braille("Vietnam", expr, "⠣⠸⠁⠃⠜⠨⠔⠳⠕⠐⠖⠣⠸⠃⠉⠜⠨⠔⠳⠕⠐⠶⠣⠸⠁⠉⠜⠨⠔⠳⠕");
}
#[test]
fn vector_10d () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠳⠣⠸⠁⠃⠜⠨⠔⠳⠕⠸⠳⠐⠶⠩⠭⠢⠣⠸⠁⠃⠜⠔⠼⠃⠐⠖⠽⠢⠣⠸⠁⠃⠜⠔⠼⠃⠱");
}
#[test]
fn greek_1_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠰⠁⠸⠁");
}
#[test]
fn log_b2 () {
let expr = "";
test_braille("Vietnam", expr, "⠇⠕⠛⠔⠼⠃⠢⠼⠉⠭⠐⠖⠼⠃⠇⠕⠛⠢⠼⠃⠭⠐⠖⠼⠉⠐⠶⠼⠚");
}
#[test]
fn rnumber_1_1 () {
let expr = r#""#;
test_braille("Vietnam", expr, "⠨⠁⠐⠶⠸⠣⠭⠈⠑⠨⠗⠸⠳⠭⠔⠼⠃⠐⠕⠶⠼⠁⠸⠜");
}
#[test]
fn mtable_1_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠣⠭⠐⠖⠽⠐⠶⠼⠑⣍⠸⠣⠼⠃⠭⠐⠤⠽⠐⠶⠼⠁");
}
#[test]
fn mtable_1_2 () {
let expr = r#""#;
test_braille("Vietnam", expr, "⠨⠣⠭⠐⠶⠼⠑⣍⠨⠣⠭⠐⠶⠐⠤⠼⠛");
}
#[test]
fn number_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠉⠄⠚⠚⠚⠂⠁⠃");
}
#[test]
fn number_1a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠉⠄⠚⠚⠚⠂⠁⠃");
}
#[test]
fn number_2 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠉⠂⠁⠙");
}
#[test]
fn number_2a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠉⠂⠁⠙");
}
#[test]
fn number_3 () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠁⠄⠚⠚⠚");
}
#[test]
#[ignore]
fn number_3a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠄⠚⠚⠚");
}
#[test]
fn number_3b () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠄⠃⠉⠙");
}
#[test]
fn number_3c () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠂⠃⠉⠙");
}
#[test]
fn number_4 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠄⠚⠚⠚⠄⠚⠚⠚");
}
#[test]
fn number_4a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠄⠚⠚⠚⠄⠚⠚⠚");
}
#[test]
fn number_5 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠃⠉⠄⠙⠑⠋⠄⠛⠓⠊⠂⠊⠓⠛");
}
#[test]
fn number_5a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠃⠉⠄⠙⠑⠋⠄⠛⠓⠊⠂⠊⠓⠛");
}
#[test]
fn number_6 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠂⠑⠛");
}
#[test]
fn number_6a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠂⠑⠛");
}
#[test]
fn number_6b () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠚⠂⠑⠛");
}
#[test]
fn number_6c () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠚⠂⠑⠛");
}
#[test]
fn number_7 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠂⠑⠛⠓");
}
#[test]
fn number_7a () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠂⠑⠛⠓");
}
#[test]
fn number_7b () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠚⠂⠑⠛⠓");
}
#[test]
fn number_7c () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠚⠂⠑⠛⠓");
}
#[test]
fn meter_1 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠑⠂⠛⠃⠀⠍⠐⠲⠼⠁⠚⠐⠶⠼⠑⠛⠂⠃⠀⠉⠍");
}
#[test]
fn meter_2 () {
let expr = "";
test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠀⠅⠍⠐⠶⠼⠁⠚⠀⠓⠍⠐⠶⠼⠁⠚⠚⠀⠙⠁⠍⠐⠶⠼⠁⠄⠚⠚⠚⠀⠍⠐⠶⠼⠁⠚⠄⠚⠚⠚⠀⠙⠍⠐⠶⠼⠁⠚⠚⠄⠚⠚⠚⠀⠉⠍⠐⠶⠼⠁⠄⠚⠚⠚⠄⠚⠚⠚⠀⠍⠍");
}
#[test]
fn gram_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠁⠀⠞⠔⠡⠝⠐⠶⠼⠁⠚⠀⠞⠠⠁⠐⠶⠼⠁⠚⠚⠀⠔⠽⠣⠝⠐⠶⠼⠁⠄⠚⠚⠚⠀⠅⠛⠐⠶⠼⠁⠚⠄⠚⠚⠚⠀⠓⠛⠐⠶⠼⠁⠚⠚⠄⠚⠚⠚⠀⠙⠁⠛⠐⠶⠼⠁⠄⠚⠚⠚⠄⠚⠚⠚⠀⠛");
}
#[test]
fn liquid_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠁⠀⠇⠔⠊⠞⠐⠶⠼⠁⠀⠇⠐⠶⠼⠁⠄⠚⠚⠚⠀⠍⠇");
}
#[test]
fn feet_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠼⠁⠀⠋⠞⠐⠖⠼⠉⠀⠊⠝");
}
#[test]
fn cap_1 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠁⠃⠐⠖⠨⠉⠙⠐⠶⠑⠨⠋");
}
#[test]
fn cap_2 () {
let expr = "";
test_braille("Vietnam", expr, "⠸⠁⠃⠐⠖⠨⠉⠙⠐⠶⠑⠨⠋");
}
#[test]
fn vi_letters () {
let expr = "";
test_braille("Vietnam", expr, "⠨⠉⠓⠕⠀⠨⠏⠓⠳⠪⠝⠛⠀⠨⠞⠗⠰⠊⠝⠓⠀⠨⠁⠭⠐⠖⠨⠃⠐⠶⠼⠚⠀⠸⠞⠁⠀⠸⠮⠳⠠⠪⠉⠀⠭");
}
// Chemistry test cases
#[test]
fn salt() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠝⠁⠨⠉⠇");
}
#[test]
fn water() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠓⠢⠼⠃⠨⠕");
}
#[test]
fn carbon() {
let expr = ""; // not enough to trigger recognition
test_braille("Vietnam", expr, "⠨⠉");
}
#[test]
fn sulfate() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠣⠸⠎⠕⠢⠼⠙⠨⠜⠔⠣⠼⠃⠐⠤⠱");
// When two or more continuous cap letters in one substance, and without sub or super script divided, dots 456 as word cap sign.
}
#[test]
fn aluminum_sulfate() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠁⠇⠢⠼⠃⠈⠣⠸⠎⠕⠢⠼⠙⠈⠜⠢⠼⠉");
}
#[test]
fn ethanol_bonds() {
let expr = "";
test_braille("Vietnam", expr, "⠸⠉⠓⠢⠼⠉⠤⠸⠉⠓⠢⠼⠃⠤⠸⠕⠓");
}
#[test]
fn dichlorine_hexoxide() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠣⠨⠉⠇⠨⠕⠢⠼⠃⠨⠜⠔⠐⠖⠨⠣⠨⠉⠇⠨⠕⠢⠼⠙⠨⠜⠔⠐⠤");
}
#[test]
fn ethylene_with_bond() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠓⠢⠼⠃⠨⠉⠭⠸⠉⠓⠢⠼⠃");
}
#[test]
fn ferric_chloride_aq() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠋⠑⠨⠉⠇⠢⠼⠉⠈⠣⠁⠟⠈⠜");
}
#[test]
fn ethylene_with_colon_bond() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠓⠢⠼⠃⠨⠉⠭⠸⠉⠓⠢⠼⠃");
// Each bond presented with column is translated with ⠒. So, triple column bonds should be ⠒⠒⠒.
}
#[test]
fn beta_decay() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠉⠢⠮⠼⠋⠔⠞⠼⠁⠙⠳⠕⠨⠝⠢⠮⠼⠛⠔⠞⠼⠁⠙⠐⠖⠑⠢⠮⠣⠐⠤⠼⠁⠜⠔⠞⠼⠚");
}
#[test]
fn hcl_na_yields() {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠨⠓⠨⠉⠇⠐⠖⠼⠃⠨⠝⠁⠳⠕⠼⠃⠨⠝⠁⠨⠉⠇⠐⠖⠨⠓⠢⠼⠃");
}
#[test]
fn mhchem_so4_2plus() {
let expr = "";
test_braille("Vietnam", expr, "⠸⠎⠕⠢⠼⠙⠔⠣⠼⠃⠐⠖⠱");
}
#[test]
fn mhchem_hcl_aq_etc() {
let expr = "";
test_braille("Vietnam", expr, "⠼⠃⠨⠓⠨⠉⠇⠈⠣⠁⠟⠈⠜⠐⠖⠼⠃⠨⠝⠁⠈⠣⠎⠈⠜⠳⠕⠼⠃⠨⠝⠁⠨⠉⠇⠈⠣⠁⠟⠈⠜⠐⠖⠨⠓⠢⠼⠃⠈⠣⠛⠈⠜");
}
#[test]
fn mhchem_barbed_equilibrium() {
let expr = "";
test_braille("Vietnam", expr, "⠨⠓⠢⠼⠃⠈⠣⠛⠈⠜⠐⠖⠨⠊⠢⠼⠃⠈⠣⠛⠈⠜⠳⠪⠕⠼⠃⠸⠓⠊⠈⠣⠛⠈⠜");
}
#[test]
fn mhchem_roman_in_superscript() {
let expr = " ";
test_braille("Vietnam", expr, "⠨⠋⠑⠔⠣⠨⠊⠊⠱⠨⠋⠑⠔⠣⠨⠊⠊⠊⠱⠨⠕⠢⠼⠙");
// all Roman numbers with single or multiple cap letters, are all used only dot 46.
}
#[test]
fn overparen() {
let expr = r#""#;
test_braille("Vietnam", expr, "⠫⠠⠗⠸⠁⠃");
}
#[test]
fn vi_text1() {
init_logger();
let expr = "";
test_braille("Vietnam", expr, "⠟⠥⠔⠽⠣⠞⠀⠛⠊⠰⠣⠝⠛⠀⠟⠥⠔⠁⠀⠛⠊⠠⠣⠞⠀⠓⠰⠜⠝⠛⠀⠓⠢⠕⠊⠀⠇⠤⠹⠊");
}
#[test]
fn vi_text2() {
let expr = "";
test_braille("Vietnam", expr, "⠞⠓⠔⠊⠣⠞⠀⠓⠰⠊⠣⠝⠀⠃⠢⠊⠣⠝⠀⠙⠤⠊⠣⠝⠀⠮⠠⠊⠣⠝⠀⠛⠊⠔⠣⠞");
}
#[test]
fn vi_text31() {
let expr = "";
test_braille("Vietnam", expr, "⠞⠓⠔⠥⠡⠝⠀⠞⠓⠰⠥⠡⠝⠀⠉⠓⠢⠥⠡⠝⠀⠇⠠⠥⠡⠝⠀⠟⠥⠔⠡⠝⠀⠟⠥⠰⠡⠝⠀⠟⠥⠢⠡⠝⠀⠟⠥⠤⠡⠝⠀⠟⠥⠠⠡⠝");
}
#[test]
fn vi_text32() {
let expr = "";
test_braille("Vietnam", expr, "⠞⠓⠔⠥⠣⠀⠓⠰⠥⠣⠀⠞⠠⠥⠣⠀⠟⠥⠔⠣⠀⠟⠥⠠⠣");
}
#[test]
fn vi_text33() {
let expr = "";
test_braille("Vietnam", expr, "⠍⠔⠥⠹⠝⠛⠀⠞⠗⠰⠥⠹⠝⠛⠀⠉⠢⠥⠹⠝⠛⠀⠉⠤⠥⠹⠝⠛⠀⠉⠓⠠⠥⠹⠝⠛⠀⠞⠓⠢⠥⠪⠀⠟⠥⠢⠪");
}
#[test]
fn vi_text34() {
let expr = "";
test_braille("Vietnam", expr, "⠃⠔⠥⠽⠞⠀⠞⠓⠰⠥⠽⠀⠓⠢⠥⠽⠀⠇⠤⠥⠽⠀⠝⠛⠠⠥⠽⠀⠟⠥⠔⠽⠀⠟⠥⠔⠽⠞⠀⠟⠥⠰⠽⠀⠟⠥⠢⠽⠀⠟⠥⠤⠽⠀⠟⠥⠠⠽");
}
#[test]
fn vi_text35() {
let expr = "";
test_braille("Vietnam", expr, "⠅⠓⠔⠥⠽⠣⠞⠀⠞⠓⠰⠥⠽⠣⠝⠀⠉⠓⠢⠥⠽⠣⠝⠀⠞⠗⠠⠥⠽⠣⠝⠀⠟⠥⠔⠽⠣⠞⠀⠟⠥⠰⠽⠣⠝⠀⠟⠥⠢⠽⠣⠝⠀⠟⠥⠠⠽⠣⠝");
}
#[test]
fn vi_text41() {
let expr = "";
test_braille("Vietnam", expr, "⠞⠓⠔⠕⠁⠞⠀⠉⠓⠰⠕⠁⠝⠛⠀⠇⠤⠕⠁⠝⠛⠀⠓⠠⠕⠁⠞⠀⠞⠓⠔⠕⠜⠉⠀⠓⠠⠕⠜⠉⠀⠅⠓⠔⠕⠑⠝");
}
#[test]
fn vi_text42() {
let expr = "";
test_braille("Vietnam", expr, "⠞⠓⠔⠳⠪⠞⠀⠉⠠⠳⠪⠉⠀⠔⠽⠣⠝⠀⠢⠽⠣⠝");
}