greed 0.5.2

A rust tool to automate trades 📈
Documentation
1
2
3
4
5
6
7
8
#[cfg(test)]
use std::fmt::Debug;

#[cfg(test)]
pub fn conversion<T: Into<U> + PartialEq + Debug, U: PartialEq + Debug>(from: T, expected: U) {
    let order_class: U = from.into();
    assert_eq!(order_class, expected)
}