#[ test ] fn not() { let mut x = NamedDefaultOff { a : true, b: 0 }; x = !x; assert_eq!( x.a, true ); assert_eq!( x.b, 0 ); }