10 lines
287 B
Rust
Raw Normal View History

2024-09-05 16:45:44 -07:00
use crate::types::Vector3;
2024-08-28 13:36:17 -07:00
2024-09-05 16:45:44 -07:00
#[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);
}