accrue trivia

This commit is contained in:
Nikolay Volf 2016-01-30 17:15:37 +04:00
parent 1b48d07a9c
commit 0402887cbf
2 changed files with 13 additions and 1 deletions

View File

@ -33,3 +33,15 @@ impl Substate {
self.contracts_created.extend(s.contracts_created.into_iter()); self.contracts_created.extend(s.contracts_created.into_iter());
} }
} }
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn accrue() {
let mut sub_state = Substate::new();
let sub_state_2 = Substate::new();
sub_state.accrue(sub_state_2);
}
}