Factor out the testing code, so we can use it later.

This commit is contained in:
2018-04-30 13:05:10 -07:00
parent 153d88237f
commit 2eacea8ff9
3 changed files with 60 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ use std::ops::*;
/// In case you were wondering, it stands for "Signed Crypto Num".
#[derive(Clone,Debug,PartialEq,Eq)]
pub struct SCN {
negative: bool,
pub(crate) negative: bool,
pub(crate) value: UCN
}