Build Absolute path to rules dir for testing
()
| 76 | #[cfg(test)] |
| 77 | /// Build Absolute path to rules dir for testing |
| 78 | pub fn abs_rules_dir_path() -> String { |
| 79 | return std::env::current_exe().unwrap().parent().unwrap() |
| 80 | .join("../../../Rules") |
| 81 | .to_str().unwrap().to_string(); |
| 82 | } |
| 83 | |
| 84 | #[cfg(test)] |
| 85 | pub fn are_strs_canonically_equal_with_locale(test: &str, target: &str, block_separators: &str, decimal_separators: &str) -> bool { |