Cade Cunningham had 15 points and 10 assists and the visiting Detroit Pistons defeated the Toronto Raptors 99-95 Friday night in an NBA Cup game.Malik Beasley added a team-high 20 points for Detroit (6-8), who have won their first two games of the in-season tournament following their 123-121 victory over Miami last Tuesday.Jaden Ivey scored 14 points for the Pistons and Tobias Harris had 11 and a team-high 11 rebounds. Jalen Duren had 12 points and Ronald Holland II scored 10 points to round out six players in double-figures for Detroit.Jakob Poeltl had a season-best 25 points, grabbed 19 rebounds and had three blocked shots for the Raptors (2-11), who have lost their first two tournament games and six in a row overall. RJ Barrett added 22 points and Gradey Dick scored 16 points.Detroit closed the first quarter on a 13-2 surge to take a 32-27 lead. Toronto battled back in the second quarter to tie the game at 39 thanks to Barrett’s 3-pointer at the 8:00 mark. The teams traded points and tied again at 44 at the 4:00 mark but Detroit pulled away slightly and took a 55-52 halftime lead.