write a test

This commit is contained in:
Quaternions 2024-09-05 16:45:44 -07:00
parent 41cdd03b1b
commit 504ff37c47

View File

@ -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);
}