mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add test
This commit is contained in:
@ -644,6 +644,12 @@ mod tests {
|
|||||||
"¥18,443".to_owned()
|
"¥18,443".to_owned()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
NumberFormat::Yuan => {
|
||||||
|
assert_eq!(
|
||||||
|
type_option.decode_cell_data(data("18443"), &field_meta),
|
||||||
|
"CN¥18,443".to_owned()
|
||||||
|
);
|
||||||
|
}
|
||||||
NumberFormat::EUR => {
|
NumberFormat::EUR => {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
type_option.decode_cell_data(data("18443"), &field_meta),
|
type_option.decode_cell_data(data("18443"), &field_meta),
|
||||||
|
Reference in New Issue
Block a user