import battlecats::LeftCat; use battlecats::LeftCat; use battlecats::RightCat; use battlecats::hiss; use battlecats::hissed; #[test] fn test_not_hissing() { let gigabyte = LeftCat::new([1.0, 0.0, 0.0, 1.0], [105.0, 200.0, 50.0, 50.0], [2.0, 0.75, 1.0, 10.0, 10.0], [true, false, false, false, false]); let chester = RightCat::new([0.0, 0.0, 1.0, 1.0], [595.0, 200.0, 50.0, 50.0], [1.0, 2.0, 0.75, 10.0, 10.0], [true, false, false, false, false]); chester.hiss(); gigabyte.hissed(chester.position[2], chester.position[1]); assert_eq!(gigabyte.stance[0], true); }