|
1 | 1 | # GOF MetaData are lists the fields defined below
|
2 | 2 | testMetaDataA <- list(
|
3 |
| - Time = list(dimension = "Time", unit = "h"), |
4 |
| - Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
5 |
| - Path = "Test|Path|A", |
6 |
| - legend = "Test Legend A", |
7 |
| - residualsLegend = "Test Residuals Legend A", |
8 |
| - residualScale = ResidualScales$Logarithmic, |
9 |
| - group = "Group 1", |
10 |
| - color = "red", |
11 |
| - fill = "red" |
| 3 | + Time = list(dimension = "Time", unit = "h"), |
| 4 | + Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
| 5 | + Path = "Test|Path|A", |
| 6 | + legend = "Test Legend A", |
| 7 | + residualsLegend = "Test Residuals Legend A", |
| 8 | + residualScale = ResidualScales$Logarithmic, |
| 9 | + group = "Group 1", |
| 10 | + color = "red", |
| 11 | + fill = "red" |
12 | 12 | )
|
13 | 13 | testMetaDataB <- list(
|
14 |
| - Time = list(dimension = "Time", unit = "h"), |
15 |
| - Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
16 |
| - Path = "Test|Path|B", |
17 |
| - legend = "Test Legend B", |
18 |
| - residualsLegend = "Test Residuals Legend B", |
19 |
| - residualScale = ResidualScales$Logarithmic, |
20 |
| - group = "Group 1", |
21 |
| - color = "blue", |
22 |
| - fill = "blue" |
| 14 | + Time = list(dimension = "Time", unit = "h"), |
| 15 | + Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
| 16 | + Path = "Test|Path|B", |
| 17 | + legend = "Test Legend B", |
| 18 | + residualsLegend = "Test Residuals Legend B", |
| 19 | + residualScale = ResidualScales$Logarithmic, |
| 20 | + group = "Group 1", |
| 21 | + color = "blue", |
| 22 | + fill = "blue" |
23 | 23 | )
|
24 | 24 | # Group C: different residuals scale
|
25 | 25 | testMetaDataC <- list(
|
26 |
| - Time = list(dimension = "Time", unit = "h"), |
27 |
| - Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
28 |
| - Path = "Test|Path|C", |
29 |
| - legend = "Test Legend C", |
30 |
| - residualsLegend = "Test Residuals Legend C", |
31 |
| - residualScale = ResidualScales$Linear, |
32 |
| - group = "Group 1", |
33 |
| - color = "green", |
34 |
| - fill = "green" |
| 26 | + Time = list(dimension = "Time", unit = "h"), |
| 27 | + Concentration = list(dimension = "Concentration (mass)", unit = "mg/L"), |
| 28 | + Path = "Test|Path|C", |
| 29 | + legend = "Test Legend C", |
| 30 | + residualsLegend = "Test Residuals Legend C", |
| 31 | + residualScale = ResidualScales$Linear, |
| 32 | + group = "Group 1", |
| 33 | + color = "green", |
| 34 | + fill = "green" |
35 | 35 | )
|
36 | 36 | # Group D: different dimension/unit
|
37 | 37 | testMetaDataD <- list(
|
38 |
| - Time = list(dimension = "Time", unit = "h"), |
39 |
| - Concentration = list(dimension = "Fraction", unit = ""), |
40 |
| - Path = "Test|Path|D", |
41 |
| - legend = "Test Legend D", |
42 |
| - residualsLegend = "Test Residuals Legend D", |
43 |
| - residualScale = ResidualScales$Logarithmic, |
44 |
| - group = "Group 1", |
45 |
| - color = "yellow", |
46 |
| - fill = "yellow" |
| 38 | + Time = list(dimension = "Time", unit = "h"), |
| 39 | + Concentration = list(dimension = "Fraction", unit = ""), |
| 40 | + Path = "Test|Path|D", |
| 41 | + legend = "Test Legend D", |
| 42 | + residualsLegend = "Test Residuals Legend D", |
| 43 | + residualScale = ResidualScales$Logarithmic, |
| 44 | + group = "Group 1", |
| 45 | + color = "yellow", |
| 46 | + fill = "yellow" |
47 | 47 | )
|
48 | 48 | # Group D: different dimension/unit, scale and group
|
49 | 49 | testMetaDataE <- list(
|
@@ -87,5 +87,3 @@ test_that("getOutputGroups warns appropriately about meta data consistency withi
|
87 | 87 | expect_warning(ospsuite.reportingengine:::getOutputGroups(unitMetaDataFrame))
|
88 | 88 | expect_warning(ospsuite.reportingengine:::getOutputGroups(scaleMetaDataFrame))
|
89 | 89 | })
|
90 |
| - |
91 |
| - |
0 commit comments