Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
DrunkRandomWalker committed Oct 20, 2023
1 parent 5f8e2b9 commit 81af2b2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/injective-math/src/fp_decimal/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ impl fmt::Display for FPDecimal {
#[cfg(test)]
mod tests {
use crate::FPDecimal;
use bigint::U256;

#[test]
fn test_fmt_sub() {
Expand All @@ -41,15 +40,6 @@ mod tests {

#[test]
fn test_fmt_neg() {
assert_eq!(
&format!(
"{}",
FPDecimal {
num: FPDecimal::ONE.num * U256([5, 0, 0, 0]),
sign: 0
}
),
"-5"
);
assert_eq!(&format!("{}", -FPDecimal::FIVE), "-5");
}
}

0 comments on commit 81af2b2

Please sign in to comment.