Skip to content

Commit a22f34d

Browse files
authored
Revert "feat: add more test to pyth lazer protocol (#2943)" (#2946)
This reverts commit 7af416e.
1 parent dd923bd commit a22f34d

File tree

1 file changed

+0
-10
lines changed
  • lazer/sdk/rust/protocol/src/price

1 file changed

+0
-10
lines changed

lazer/sdk/rust/protocol/src/price/tests.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,6 @@ fn price_ops() {
133133
12.34 * 34.56
134134
);
135135

136-
assert_float_absolute_eq!(
137-
price1.mul_decimal(34, 2).unwrap().to_f64(-8).unwrap(),
138-
12.34 * 3400.0
139-
);
140-
141-
assert_float_absolute_eq!(
142-
price1.mul_decimal(34, 0).unwrap().to_f64(-8).unwrap(),
143-
12.34 * 34.0
144-
);
145-
146136
let price2 = Price::parse_str("42_000", 3).unwrap();
147137
assert_float_absolute_eq!(
148138
price2.mul_integer(2).unwrap().to_f64(3).unwrap(),

0 commit comments

Comments
 (0)