Contains() public méthode

public Contains ( int x, int y, int z ) : bool
x int
y int
z int
Résultat bool
 public void Test_Volume_Contains()
 {
     var volume = new Volume { X = 0, Y = 0, Z = 0, Width = 10, Height = 10, Depth = 10 };
     Assert.IsTrue(volume.Contains(5, 5, 5));
     Assert.IsFalse(volume.Contains(11, 11, 11));
 }