Simplest way is to connect them up in a simple circuit as a DC amplifier, and measure the conditions. A power rail of around 12V, a 100R 1W resistor to the collector and a 10k resistor between collector and base with emitter to ground will enable you to measure both base voltage, collector voltage and se that it does have gain. Collector voltage will be something below the supply, but not 0V ( then it is short) while base will be at around 0.6V to 1V. For the PNP the supply to collector will be negative, but voltages will be similar in magnitude.