فهرست منبع

Revert "feat: add more test to pyth lazer protocol (#2943)" (#2946)

This reverts commit 7af416ef976750f60aad6c54065b2c69318bfc92.
Dani Mehrjerdi 3 ماه پیش
والد
کامیت
a22f34d88d
1فایلهای تغییر یافته به همراه0 افزوده شده و 10 حذف شده
  1. 0 10
      lazer/sdk/rust/protocol/src/price/tests.rs

+ 0 - 10
lazer/sdk/rust/protocol/src/price/tests.rs

@@ -133,16 +133,6 @@ fn price_ops() {
         12.34 * 34.56
     );
 
-    assert_float_absolute_eq!(
-        price1.mul_decimal(34, 2).unwrap().to_f64(-8).unwrap(),
-        12.34 * 3400.0
-    );
-
-    assert_float_absolute_eq!(
-        price1.mul_decimal(34, 0).unwrap().to_f64(-8).unwrap(),
-        12.34 * 34.0
-    );
-
     let price2 = Price::parse_str("42_000", 3).unwrap();
     assert_float_absolute_eq!(
         price2.mul_integer(2).unwrap().to_f64(3).unwrap(),