I've read the pervailing wisdom on asteroid deflecting is to not try to hit it out of the way like a billiard ball, but to use gravity to deflect it's course. I imagine, since placing a large mass in orbit is expensive, DART is able to test both - impacting Dimorphos (the smaller one) to see how it changes, and how that affects Didymos (larger one). There's a follow up missions planned by ESA called Hera, launching in 2024.