initial test setup

This commit is contained in:
Nikolay Volf
2016-02-09 06:28:27 -08:00
parent 1ae4da46b3
commit cc4206f690
2 changed files with 64 additions and 12 deletions

View File

@@ -56,6 +56,12 @@ mod tests {
use super::*;
use common::*;
#[test]
fn created() {
let mut sub_state = Substate::new();
assert_eq!(sub_state.suicides.len(), 0);
}
#[test]
fn accrue() {
let mut sub_state = Substate::new();