// These are additional Nemeth tests from other sources, mainly from bugs/issues use crate::common::*; #[test] fn not_number_space_blocks() { // https://github.com/NSoiffer/MathCAT/issues/144 let expr = "123 ⁣456"; test_braille("Nemeth", expr, "⠼⠂⠆⠒⠀⠼⠲⠢⠖"); } #[test] fn space_between_digits() { // https://github.com/NSoiffer/MathCAT/issues/144 let expr = "1 3 5"; test_braille("Nemeth", expr, "⠼⠂⠀⠼⠒⠀⠼⠢"); } #[test] fn space_hack_between_digits() { // https://github.com/NSoiffer/MathCAT/issues/144 let expr = "1 ⁣3 ⁣5"; test_braille("Nemeth", expr, "⠼⠂⠀⠼⠒⠀⠼⠢"); } #[test] fn space_hack_around_operator() { // https://github.com/NSoiffer/MathCAT/issues/144 let expr = "y ⁣= ⁣5"; test_braille("Nemeth", expr, "⠽⠀⠨⠅⠀⠼⠢"); } #[test] fn tilde_prefix_bug_244() { // https://github.com/NSoiffer/MathCAT/issues/244 let expr = " ~ p "; test_braille("Nemeth", expr, "⠈⠱⠏"); }