Skip to content

Added further tests for reflectivity calculations#45

Merged
StephenNneji merged 15 commits intoRascalSoftware:masterfrom
DrPaulSharp:testing
Jan 24, 2023
Merged

Added further tests for reflectivity calculations#45
StephenNneji merged 15 commits intoRascalSoftware:masterfrom
DrPaulSharp:testing

Conversation

@DrPaulSharp
Copy link
Collaborator

@DrPaulSharp DrPaulSharp commented Jan 23, 2023

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What is the current behaviour (You can also link to an open issue here)?
    Explicit tests for reflectivity calculations stop at the "reflectivity_calculation" routine in "targetFunctions/reflectivity_calculation/reflectivity_calculation.m"

  • What kind of change does this PR introduce, does this PR introduce a breaking change?
    We add tests for the "standardTF_reflectivityCalculation", "standardTF_stanLay_reflectivityCalculation", "standardTF_custLay_reflectivityCalculation", "standardTF_custXY_reflectivityCalculation", "standardTF_stanlay_single", "standardTF_custlay_single", "standardTF_custXY_single", "standardTF_stanlay_paraContrasts", "standardTF_custlay_paraContrasts", "standardTF_custXY_paraContrasts", "standardTF_stanlay_paraPoints", "standardTF_custlay_paraPoints", "standardTF_custXY_paraPoints", "RAT_parse_cells", "extractProblemParams" routines, all of which are involved in standard TF reflectivity calculations at a lower level the the routines currently tested.

  • Other information:
    In the "testSuite" directory, the sub directory "commonFunctions_test" has been renamed "testCommonFunctions", "standardTF_reflectivityCalculationTest" has been renamed "standardTFReflectivityCalculation", and the "reflectivity_calculation" directory has been removed.

…o updated "addRatPaths.m" and "makeInputsAndOutputs.m" to account for renamed directories.
Copy link
Collaborator

@StephenNneji StephenNneji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean up

%}

function testResolutionPolly(testCase)
% testResolutionPolly
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docstring's don't give useful information in tests. Please remove and you can add a comment that gives more information about the test if needed. Many of these test don't even need any comment since the test methods are named properly

@StephenNneji StephenNneji merged commit 089df03 into RascalSoftware:master Jan 24, 2023
@DrPaulSharp DrPaulSharp deleted the testing branch January 24, 2023 14:56
@DrPaulSharp DrPaulSharp mentioned this pull request Jan 30, 2023
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants