diff --git a/fixed_wide_vectors/src/tests/tests.rs b/fixed_wide_vectors/src/tests/tests.rs index 8b13789..ed0d8d8 100644 --- a/fixed_wide_vectors/src/tests/tests.rs +++ b/fixed_wide_vectors/src/tests/tests.rs @@ -1 +1,9 @@ +use crate::types::Vector3; +#[test] +fn test_bool(){ + assert_eq!(Vector3::new([false,false,false]).any(),false); + assert_eq!(Vector3::new([false,false,true]).any(),true); + assert_eq!(Vector3::new([false,false,true]).all(),false); + assert_eq!(Vector3::new([true,true,true]).all(),true); +}