On your own, you can run Apple Diagnostics via holding the 'D' key at startup
If you are able to go to an Apple Authorized Service Provider, you can ask they run MRI, or Mac Resource Inspector, for more detailed results. If you are considering a 15-inch, you can ask they run MRI with the Video Switching Test, or VST, to stress-test the dGPU.