use crate::common::*; #[test] fn test_000() { let expr = "-1"; test_braille("Nemeth", expr, "⠤⠼⠂"); } #[test] fn test_001() { let expr = "-.3"; test_braille("Nemeth", expr, "⠤⠼⠨⠒"); } #[test] fn test_002() { let expr = "n!"; test_braille("Nemeth", expr, "⠝⠯"); } #[test] fn test_003() { let expr = "1,378"; test_braille("Nemeth", expr, "⠼⠂⠠⠒⠶⠦"); } #[test] fn test_004() { let expr = "3.76"; test_braille("Nemeth", expr, "⠼⠒⠨⠶⠖"); } #[test] fn test_005() { let expr = "1,478"; test_braille("Nemeth", expr, "⠼⠂⠠⠲⠶⠦"); } #[test] fn test_006() { // modified to add space as in number_list_8_b_2 let expr = "100, 200, 300"; test_braille("Nemeth", expr, "⠼⠂⠴⠴⠠⠀⠼⠆⠴⠴⠠⠀⠼⠒⠴⠴"); } #[test] fn test_007() { // number_8_c_5 let expr = ".35"; test_braille("Nemeth", expr, "⠼⠨⠒⠢"); } #[test] fn test_008() { let expr = "3.14"; test_braille("Nemeth", expr, "⠼⠒⠨⠂⠲"); } #[test] fn test_009() { let expr = ".2a1a2a3"; test_braille("Nemeth", expr, "⠼⠨⠆⠁⠂⠁⠆⠁⠒"); } #[test] fn test_010() { let expr = ".a1a2a3"; test_braille("Nemeth", expr, "⠨⠐⠁⠂⠁⠆⠁⠒"); } #[test] fn test_011() { let expr = ".1+.2=.----"; test_braille("Nemeth", expr, "⠼⠨⠂⠬⠨⠆⠀⠨⠅⠀⠨⠐⠤⠤⠤⠤"); } #[test] fn test_012() { let expr = "27"; test_braille("Nemeth", expr, "⠼⠆⠶"); } #[test] fn test_013() { let expr = "1+x+y=0"; test_braille("Nemeth", expr, "⠼⠂⠬⠭⠬⠽⠀⠨⠅⠀⠼⠴"); } #[test] fn test_014() { let expr = "y=2sinx"; test_braille("Nemeth", expr, "⠽⠀⠨⠅⠀⠼⠆⠎⠊⠝⠀⠭"); } #[test] fn test_015() { let expr = "sin1"; test_braille("Nemeth", expr, "⠎⠊⠝⠀⠼⠂"); } #[test] fn test_016() { let expr = "sin22x"; test_braille("Nemeth", expr, "⠎⠊⠝⠘⠆⠀⠼⠆⠭"); } #[test] fn test_017() { let expr = "0.3333"; test_braille("Nemeth", expr, "⠼⠴⠨⠒⠒⠒⠀⠄⠄⠄⠀⠼⠒⠀⠄⠄⠄"); } #[test] fn test_018() { let expr = "log 102"; test_braille("Nemeth", expr, "⠇⠕⠛⠂⠴⠀⠼⠆"); } #[test] fn test_019() { let expr = "(x=0)"; test_braille("Nemeth", expr, "⠷⠭⠀⠨⠅⠀⠼⠴⠾"); } #[test] fn test_020() { let expr = "115"; test_braille("Nemeth", expr, "⠹⠂⠂⠌⠢⠼"); } #[test] fn test_021() { let expr = "-1"; test_braille("Nemeth", expr, "⠤⠼⠂"); } #[test] fn test_022() { let expr = "-.3"; test_braille("Nemeth", expr, "⠤⠼⠨⠒"); } #[test] fn test_023() { // (modified to be a single mtext) 9_b_1 let expr = "“3 dogs”"; test_braille("Nemeth", expr, "⠦⠼⠒⠀⠙⠕⠛⠎⠴"); } #[test] fn test_024() { // 9_b_2 -- changed dash to be char that outputs the appropriate Nemeth let expr = "Probability0"; test_braille("Nemeth", expr, "⠠⠏⠗⠕⠃⠁⠃⠊⠇⠊⠞⠽⠤⠤⠼⠴"); } #[test] fn test_025() { let expr = ".5"; test_braille("Nemeth", expr, "⠦⠼⠨⠢"); } #[test] fn test_026() { let expr = "-4"; test_braille("Nemeth", expr, "⠦⠤⠼⠲"); } #[test] fn test_027() { let expr = "13"; test_braille("Nemeth", expr, "⠹⠂⠌⠒⠼"); } #[test] fn test_028() { let expr = "x12"; test_braille("Nemeth", expr, "⠭⠘⠹⠂⠌⠆⠼"); } #[test] fn test_029() { let expr = " a+bc"; test_braille("Nemeth", expr, "⠹⠁⠬⠃⠌⠉⠼"); } #[test] fn test_030() { let expr = " x 122"; test_braille("Nemeth", expr, "⠹⠭⠘⠹⠂⠌⠆⠼⠐⠌⠆⠼"); } #[test] fn test_031() { let expr = "rate= distancetime"; test_braille("Nemeth", expr, "⠗⠁⠞⠑⠀⠨⠅⠀⠹⠙⠊⠎⠞⠁⠝⠉⠑⠌⠞⠊⠍⠑⠼"); } #[test] fn test_032() { let expr = " a+b c+d"; test_braille("Nemeth", expr, "⠹⠁⠬⠃⠸⠌⠉⠬⠙⠼"); } #[test] fn test_033() { let expr = "385"; test_braille("Nemeth", expr, "⠠⠹⠹⠒⠌⠦⠼⠠⠌⠢⠠⠼"); } #[test] fn test_034() { let expr = " 1 /2 2 23"; test_braille("Nemeth", expr, "⠠⠹⠂⠸⠌⠆⠠⠌⠆⠸⠹⠆⠌⠒⠸⠼⠠⠼"); } #[test] fn test_035() { let expr = " 5 4 38"; test_braille("Nemeth", expr, "⠠⠹⠢⠠⠌⠲⠸⠹⠒⠌⠦⠸⠼⠠⠼"); } #[test] fn test_036() { let expr = " 12 34"; test_braille("Nemeth", expr, "⠠⠹⠹⠂⠌⠆⠼⠠⠸⠌⠹⠒⠌⠲⠼⠠⠼"); } #[test] fn test_037() { let expr = " a b 34 56"; test_braille("Nemeth", expr, "⠹⠁⠌⠃⠘⠠⠹⠹⠒⠌⠲⠼⠠⠌⠹⠢⠌⠖⠼⠠⠼⠐⠼"); } #[test] fn test_038() { let expr = " 1 14 1 355"; test_braille("Nemeth", expr, "⠠⠠⠹⠠⠹⠂⠸⠹⠂⠌⠲⠸⠼⠠⠌⠂⠸⠹⠒⠌⠢⠸⠼⠠⠼⠠⠠⠌⠢⠠⠠⠼"); } #[test] fn test_039() { let expr = " (1x) ddx(2x)2x ddx(1x) (1x )2 1+ ( 2x 1x)2"; test_braille("Nemeth", expr, "⠠⠠⠹⠠⠹⠷⠂⠤⠭⠾⠹⠙⠌⠙⠭⠼⠷⠆⠭⠾⠤⠆⠭⠹⠙⠌⠙⠭⠼⠷⠂⠤⠭⠾⠠⠌⠷⠂⠤⠭⠾⠘⠆⠐⠠⠼⠠⠠⠌⠂⠬⠷⠹⠆⠭⠌⠂⠤⠭⠼⠾⠘⠆⠐⠠⠠⠼"); } #[test] fn test_040() { let expr = " 2= 1+ 1 2+ 1 2+ 1 2+ 1 2+"; test_braille("Nemeth", expr, "⠜⠆⠻⠀⠨⠅⠀⠼⠂⠬⠠⠠⠠⠹⠂⠠⠠⠠⠌⠆⠬⠠⠠⠹⠂⠠⠠⠌⠆⠬⠠⠹⠂⠠⠌⠆⠬⠹⠂⠌⠆⠬⠀⠄⠄⠄⠼⠠⠼⠠⠠⠼⠠⠠⠠⠼"); } #[test] fn test_041() { let expr = "2"; test_braille("Nemeth", expr, "⠜⠆⠻"); } #[test] fn test_042() { let expr = "x+y"; test_braille("Nemeth", expr, "⠜⠭⠬⠽⠻"); } #[test] fn test_043() { let expr = " x2+1"; test_braille("Nemeth", expr, "⠜⠭⠘⠆⠐⠬⠂⠻"); } #[test] fn test_044() { let expr = " x2+ y2"; test_braille("Nemeth", expr, "⠜⠭⠘⠆⠐⠬⠽⠘⠆⠐⠻"); } #[test] fn test_045() { let expr = "xy"; test_braille("Nemeth", expr, "⠜⠹⠭⠌⠽⠼⠻"); } #[test] fn test_046() { let expr = "3a"; test_braille("Nemeth", expr, "⠼⠒⠜⠁⠻"); } #[test] fn test_047() { let expr = "x3"; test_braille("Nemeth", expr, "⠜⠭⠻⠘⠒"); }