def METHOD_NAME(testName):
    testFailCount = 0  # zero unit test result counter
    testMessages = []  # create empty array to store test log messages
    if testName == "testRigidBodyKinematics":
        errorCount = avsLibrarySelfCheck.testRigidBodyKinematics(1e-10)
        if errorCount:
            testFailCount += errorCount
            testMessages.append("ERROR: Rigid Body Kinematics Library Failed Self Test.\n")
    if testName == "testOrbitalAnomalies":
        errorCount = avsLibrarySelfCheck.testOrbitalAnomalies(1e-10)
        if errorCount:
            testFailCount += errorCount
            testMessages.append("ERROR: Orbital Anomalies Library Failed Self Test.\n")
    if testName == "testOrbitalHill":
        errorCount = avsLibrarySelfCheck.testOrbitalHill(1e-4)
        if errorCount:
            testFailCount += errorCount
            testMessages.append("ERROR: Orbital Hill Library Failed Self Test.\n")
    if testName == "testLinearAlgebra":
        errorCount = avsLibrarySelfCheck.testLinearAlgebra(1e-10)
        if errorCount:
            testFailCount += errorCount
            testMessages.append("ERROR: Linear Algebra Library Failed Self Test.\n")
    if testFailCount == 0:
        print("PASSED ")
        passFailText = "PASSED"
        colorText = 'ForestGreen'  # color to write auto-documented "PASSED" message in in LATEX
        snippetContent = ""
    else:
        print(testFailCount)
        print(testMessages)
        passFailText = 'FAILED'
        colorText = 'Red'  # color to write auto-documented "FAILED" message in in LATEX
        snippetContent = ""
        for message in testMessages:
            snippetContent += message
    fileName = os.path.basename(os.path.splitext(__file__)[0])
    path = os.path.dirname(os.path.abspath(__file__))
    snippetMsgName = fileName + 'Msg-' + testName
    unitTestSupport.writeTeXSnippet(snippetMsgName, snippetContent, path + "/../_Documentation/")
    snippetPassFailName = fileName + 'TestMsg-' + testName
    snippetContent = r'\textcolor{' + colorText + '}{' + passFailText + '}'
    unitTestSupport.writeTeXSnippet(snippetPassFailName, snippetContent, path + "/../_Documentation/")
    # each test method requires a single assert method to be called
    # this check below just makes sure no sub-test failures were found
    return [testFailCount, ''.join(testMessages)]