In need of help using /testfor command

Solution 1:

/testfor @e[type=sheep,x=-155,y=7,z=14,r=1]
  • type=sheep - Look for a sheep.
  • x=-155..y=..z=... - Start search at these coordinates
  • r=1 - Look in a radius of 1 block