write a test
This commit is contained in:
parent
41cdd03b1b
commit
504ff37c47
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user