chore: add test

This commit is contained in:
appflowy 2022-05-02 10:07:13 +08:00
parent f3b899d742
commit 8d125a07c5

View File

@ -644,6 +644,12 @@ mod tests {
"¥18,443".to_owned()
);
}
NumberFormat::Yuan => {
assert_eq!(
type_option.decode_cell_data(data("18443"), &field_meta),
"CN¥18,443".to_owned()
);
}
NumberFormat::EUR => {
assert_eq!(
type_option.decode_cell_data(data("18443"), &field_meta),