1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.6
import QtTest 1.2
TestCase {
name: "qPrefTechnicalDetails"
function test_variables() {
var x01 = PrefTechnicalDetails.calcalltissues
PrefTechnicalDetails.calcalltissues = true
compare(PrefTechnicalDetails.calcalltissues, true)
var x02 = PrefTechnicalDetails.calcceiling
PrefTechnicalDetails.calcceiling = true
compare(PrefTechnicalDetails.calcceiling, true)
var x03 = PrefTechnicalDetails.calcceiling3m
PrefTechnicalDetails.calcceiling3m = true
compare(PrefTechnicalDetails.calcceiling3m, true)
var x04 = PrefTechnicalDetails.calcndltts
PrefTechnicalDetails.calcndltts = true
compare(PrefTechnicalDetails.calcndltts, true)
var x05 = PrefTechnicalDetails.dcceiling
PrefTechnicalDetails.dcceiling = true
compare(PrefTechnicalDetails.dcceiling, true)
//TBD var x06 = PrefTechnicalDetails.display_deco_mode
//TBD PrefTechnicalDetails.display_deco_mode = BUEHLMANN
//TBD compare(PrefTechnicalDetails.display_deco_mode, BUEHLMANN)
var x07 = PrefTechnicalDetails.display_unused_tanks
PrefTechnicalDetails.display_unused_tanks = true
compare(PrefTechnicalDetails.display_unused_tanks, true)
var x08 = PrefTechnicalDetails.ead
PrefTechnicalDetails.ead = true
compare(PrefTechnicalDetails.ead, true)
var x09 = PrefTechnicalDetails.gfhigh
PrefTechnicalDetails.gfhigh = 27
compare(PrefTechnicalDetails.gfhigh, 27)
var x10 = PrefTechnicalDetails.gflow
PrefTechnicalDetails.gflow = 25
compare(PrefTechnicalDetails.gflow, 25)
var x11 = PrefTechnicalDetails.gf_low_at_maxdepth
PrefTechnicalDetails.gf_low_at_maxdepth = true
compare(PrefTechnicalDetails.gf_low_at_maxdepth, true)
var x12 = PrefTechnicalDetails.hrgraph
PrefTechnicalDetails.hrgraph = true
compare(PrefTechnicalDetails.hrgraph, true)
var x13 = PrefTechnicalDetails.mod
PrefTechnicalDetails.mod = true
compare(PrefTechnicalDetails.mod, true)
var x14 = PrefTechnicalDetails.modpO2 = 1.02;
PrefTechnicalDetails.modpO2 = 1.02
compare(PrefTechnicalDetails.modpO2, 1.02)
var x15 = PrefTechnicalDetails.percentagegraph
PrefTechnicalDetails.percentagegraph = true
compare(PrefTechnicalDetails.percentagegraph, true)
var x16 = PrefTechnicalDetails.redceiling
PrefTechnicalDetails.redceiling = true
compare(PrefTechnicalDetails.redceiling, true)
var x17 = PrefTechnicalDetails.rulergraph
PrefTechnicalDetails.rulergraph = true
compare(PrefTechnicalDetails.rulergraph, true)
var x18 = PrefTechnicalDetails.show_average_depth
PrefTechnicalDetails.show_average_depth = true
compare(PrefTechnicalDetails.show_average_depth, true)
var x19 = PrefTechnicalDetails.show_ccr_sensors
PrefTechnicalDetails.show_ccr_sensors = true
compare(PrefTechnicalDetails.show_ccr_sensors, true)
var x20 = PrefTechnicalDetails.show_ccr_setpoint
PrefTechnicalDetails.show_ccr_setpoint = true
compare(PrefTechnicalDetails.show_ccr_setpoint, true)
var x21 = PrefTechnicalDetails.show_icd
PrefTechnicalDetails.show_icd = true
compare(PrefTechnicalDetails.show_icd, true)
var x22 = PrefTechnicalDetails.show_pictures_in_profile
PrefTechnicalDetails.show_pictures_in_profile = true
compare(PrefTechnicalDetails.show_pictures_in_profile, true)
var x23 = PrefTechnicalDetails.show_sac
PrefTechnicalDetails.show_sac = true
compare(PrefTechnicalDetails.show_sac, true)
var x24 = PrefTechnicalDetails.show_scr_ocpo2
PrefTechnicalDetails.show_scr_ocpo2 = true
compare(PrefTechnicalDetails.show_scr_ocpo2, true)
var x25 = PrefTechnicalDetails.tankbar
PrefTechnicalDetails.tankbar = true
compare(PrefTechnicalDetails.tankbar, true)
var x26 = PrefTechnicalDetails.vpmb_conservatism
PrefTechnicalDetails.vpmb_conservatism = 127
compare(PrefTechnicalDetails.vpmb_conservatism, 127)
var x27 = PrefTechnicalDetails.zoomed_plot
PrefTechnicalDetails.zoomed_plot = true
compare(PrefTechnicalDetails.zoomed_plot, true)
}
}
|