Skip to content

Commit

Permalink
order builder tests (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
wboayue authored Oct 28, 2024
1 parent 8a0676e commit 69a61ed
Show file tree
Hide file tree
Showing 3 changed files with 742 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

# Ignore the generated coverage report
tarpaulin-report.html

# OS-specific files
**/.DS_Store

# Added by cargo

/target
Expand Down
4 changes: 4 additions & 0 deletions src/orders/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ use std::sync::{Arc, RwLock};
use crate::contracts::{contract_samples, Contract, SecurityType};
use crate::stubs::MessageBusStub;

use super::order_builder::*;
use super::*;

#[cfg(test)]
mod order_build_tests;

#[test]
fn place_order() {
let message_bus = Arc::new(MessageBusStub{
Expand Down
Loading

0 comments on commit 69a61ed

Please sign in to comment.