According to "Trinity and beyond", the gun-type bomb wasn't tested prior to hiroshima. They were confident it would work.
It's the fusion type bomb, which is much more complex, that was tested in the Trinity test and then used on Nagasaki.
It's the fusion type bomb, which is much more complex, that was tested in the Trinity test and then used on Nagasaki.