Skip to content

Commit

Permalink
Update tests.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timronan authored Feb 13, 2020
1 parent dd0c8f1 commit 108ff64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Updated:02/03/2020
| 412 | InstrumentSensitivity:Value must equal the product of all StageGain:Value if all StageGain:Frequency are equal to InstrumentSensitivity:Frequency [Normalization Frequency].<details>**IF** InstrumentSensitivity is **INCLUDED AND** InstrumentSensitivity:Frequency == Stage[1:LAST]:StageGain:Frequency **THEN** InstrumentSensitivity:Value == **PRODUCT**(Stage[1:LAST]:StageGain:Value)</details> |Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [R1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#response)|[F1_412](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_412.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml), [P1_412](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/P1_412.xml), [P2_412](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/P2_412.xml)|
| 413 | All Stages must include StageGain:Value assigned as a double > 0.0 and StageGain:Frequency assigned as a double.<details>Stage[1:N]:StageGain must be **INCLUDED AND** Stage[1:N]:StageGain:Value must be **ASSIGNED** a > 0.0 **AND** Stage[1:N]:StageGain:Frequency must be **ASSIGNED** a double</details>|Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [R1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#response)|[F1_413](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_413.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml)|
| 414 | If Stage[N]:PolesZeros contains Zero:Real==0 and Zero:Imaginary==0 then InstrumentSensitivity:Frequency cannot equal 0 and Stage[N]:StageGain:Frequency cannot equal 0.<details>**IF** Stage[N]:PolesZeros is **INCLUDED AND** Stage[N]:PolesZeros:Zero[N]:Real == 0 **AND** Stage[N]:PolesZeros:Zero[N]:Imaginary == 0 **THEN** InstrumentSensitivity:Frequency cannot != 0 **AND** Stage[N]:StageGain:Frequency != 0</details> |Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [R1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#response)|[F1_414](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_414.xml), [F2_414](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F2_414.xml), [F3_414](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F3_414.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml), [P1_414](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/P1_414.xml)|
| 415 | Response must be of type Response:InstrumentPolynomial if a Polynomial stage exist.<details>**IF** Stage[N]:Polynomial is **INCLUDED THEN** InstrumentPolynomial must be **INCLUDED AND** InstrumentSensitivity must be **NOT INCLUDED**</details> |Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel)|[F1_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_415.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml), [P1_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/P1_415.xml), [P2_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Response_400/P2_415.xml)|
| 415 | If 1 or more Polynomial stages are included then the Response must also include an overall InstrumentPolynomial.<details>**IF** Stage[N]:Polynomial is **INCLUDED THEN** InstrumentPolynomial must be **INCLUDED AND** InstrumentSensitivity must be **NOT INCLUDED**</details> |Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel)|[F1_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_415.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml), [P1_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/P1_415.xml), [P2_415](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Response_400/P2_415.xml)|
| 416 | Response must include InstrumentSensitivity if no Polynomial stages are included.<details>**IF** Stage[N]:Polynomial is **NOT INCLUDED THEN** InstrumentSensitivity must be **INCLUDED**</details> |Error|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel)||
|||||||
| | **`Response Decimation Errors`** ||||
| 420 | A Response must contain at least one instance of Response:Stage:Decimation.<details>**IF** Response is **INCLUDED THEN** Response:Stage:Decimation must be **INCLUDED**</details> |Warning|[C1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [C2](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#channel), [R1](https://github.com/iris-edu/StationXML-Validator/wiki/Restrictions#response)|[F1_420](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/F1_420.xml)|[PASS](https://github.com/iris-edu/StationXML-Validator/blob/master/src/test/resources/Validator_Pass.xml)|
Expand Down

0 comments on commit 108ff64

Please sign in to comment.