When a testcross between f1 dihybrid flies produces more offspring with both traits like those of one parent, or the other than offspring with recombinant-type traits are produced means that the two genes are link. The reason that linked genes are inherited together is that they are located on the same chromosome.