test package

Submodules

test.test_hepmc2dot module

class test.test_hepmc2dot.Test_convert(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
tearDown()[source]
test_emptyHepMCFile_expectEmptyDotFile()[source]
test_eventTwoVerticesWithOneConnectingParticleAndOneParticleWithoutEndVertex_expectSameRepresentationInDot()[source]
test_eventTwoVerticesWithOneConnectingParticleAndTwoParticlesWithoutEndVertices_expectSameRepresentationInDot()[source]
test_eventTwoVerticesWithOneConnectingParticle_expectSameRepresentationInDot()[source]
test_eventWithOneHepMCVertex_expectOneEventWithOneVertexInDot()[source]
test_oneEmptyHepMCEvent_expectOneEmptyDotDigraph()[source]
test_oneVertexTwoOutgoingParticlesWithoutEndVertices_expectSameRepresentationInDot()[source]
test_oneVertexWithOutgoingParticleWithoutEndVertex_expectSameRepresentationInDot()[source]
test_unknownDataAndOneEmptyEventInHepMCFile_expectOneEmptyDotDigraph()[source]
test_unknownDataInHepMCFile_expectEmptyDotFile()[source]
class test.test_hepmc2dot.Test_get_dot_particle(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_finalStateParticle_expectDummyEndVertex()[source]
test_floatEnergy_expectEnergyRounding()[source]
test_stringArguments_expectAutomaticConversion()[source]
class test.test_hepmc2dot.Test_get_dot_vertex(methodName='runTest')[source]

Bases: unittest.case.TestCase

assert_get_vertex(expected_dot, *args, **kwargs)[source]
test_dummyVertexNegativeID_expectDummyVertexNameAndEmptyLabel()[source]
test_dummyVertex_expectDummyVertexNameAndEmptyLabel()[source]
test_longFloatingPointRZ_expectRoundedRZ()[source]
test_nagativeVertexID_expectPositiveDotVertexNameAndNegativeIDInLabel()[source]
test_positiveVertexID_expectPositiveDotVertexNameAndPositiveIDInLabel()[source]
test_scaleProvided_expectScaledPosition()[source]
test_scaledDummy_expectScaledPosition()[source]
test_strVtxArguments_expectAutomaticConversion()[source]
class test.test_hepmc2dot.Test_get_node_name(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_dummyVertex_expectDummyNodeName()[source]
test_negativeBarcode_expectPositiveNumInNodeName()[source]
test_positiveBarcode_expectPositiveNumInNodeName()[source]
test_strArguments_expectAutomaticConversion()[source]
class test.test_hepmc2dot.Test_main_withTemporaryFilesFixture(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
tearDown()[source]
test_complexHepMCFile_expectCorrespondingDotFileContents()[source]
test_emptyHepMCFile_expectEmptyDotFile()[source]
test_nonExistingHepMCFile_expectIOError()[source]
test_nonExistingHepMCNorDotFiles_expectIOError()[source]
class test.test_hepmc2dot.Test_main_withoutTemporaryFilesFixture(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_noArgumentsProvided_expectSystemExit()[source]
test_onlyOneArgumentProvided_expectSystemExit()[source]

Module contents