Update tests of atomsWithinTriangle() function

[#47185091]