Clean up tests for bool, char, and the lib

This commit is contained in:
Eryn Wells 2017-04-22 12:29:43 -07:00
parent 25c24852cd
commit c3a2247fdd
3 changed files with 31 additions and 53 deletions

View file

@ -1,6 +1,6 @@
//pub mod number;
mod bool;
//mod char;
mod char;
mod number;
mod object;
mod predicates;
@ -10,12 +10,10 @@ pub use predicates::*;
#[cfg(test)]
mod tests {
use bool::Bool;
use char::Char;
use value::*;
use super::Object;
#[test]
fn booleans_and_chars_are_not_equal() {
assert_ne!(Bool(true).as_value(), Char('a').as_value());
assert_ne!(Object::Bool(true), Object::Char('a'));
}
}