Skip to content

Commit 0680917

Browse files
committed
Change capitalization
1 parent ce7c4a1 commit 0680917

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

test/testCoupled.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ println("StratMetropolisDist with systematic uncertainties:")
7676

7777
## --- As above, but with hiata
7878

79-
nHiatuses = 2 # The number of hiatuses you have data for
80-
hiatus = HiatusData(nHiatuses) # Struct to hold data
79+
nhiatuses = 2 # The number of hiatuses you have data for
80+
hiatus = HiatusData(nhiatuses) # Struct to hold data
8181
hiatus.Height = [-7.0, 35.0 ]
8282
hiatus.Height_sigma = [ 0.0, 0.0 ]
8383
hiatus.Duration = [ 0.3, 0.3 ]
@@ -95,7 +95,7 @@ println("StratMetropolisDist with hiata:")
9595
# Test that all age-depth models are in stratigraphic order
9696
@test all([issorted(x, rev=true) for x in eachcol(agedist)])
9797
@test all(!isnan, agedist)
98-
@test size(hiatusdist) == (nHiatuses, config.nsteps)
98+
@test size(hiatusdist) == (nhiatuses, config.nsteps)
9999
@test mean(hiatusdist, dims=2) [0.064; 0.061;;] atol=0.3
100100
@test size(lldist) == (config.nsteps,)
101101
@test !isnan(mean(lldist))

test/testRadiocarbon.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ config.sieve = round(Int,npoints_approx) # Record one out of every nsieve steps
6969

7070

7171
# Data about hiatuses
72-
nHiatuses = 2 # The number of hiatuses you have data for
73-
hiatus = HiatusData(nHiatuses) # Struct to hold data
72+
nhiatuses = 2 # The number of hiatuses you have data for
73+
hiatus = HiatusData(nhiatuses) # Struct to hold data
7474
hiatus.Height = [-371.5, -405.0 ]
7575
hiatus.Height_sigma = [ 0.0, 0.0 ]
7676
hiatus.Duration = [ 100.0, 123.0 ]
@@ -87,7 +87,7 @@ hiatus.Duration_sigma = [ 30.5, 20.0 ]
8787
# Test that all age-depth models are in stratigraphic order
8888
@test all([issorted(x, rev=true) for x in eachcol(agedist)])
8989
@test all(!isnan, agedist)
90-
@test size(hiatusdist) == (nHiatuses, config.nsteps)
90+
@test size(hiatusdist) == (nhiatuses, config.nsteps)
9191
@test mean(hiatusdist, dims=2) [108.4; 189.0;;] atol=20
9292
@test -Inf < mean(lldist) < 0
9393

@@ -143,8 +143,8 @@ config.sieve = round(Int,npoints_approx) # Record one out of every nsieve steps
143143

144144

145145
# Data about hiatuses
146-
nHiatuses = 2 # The number of hiatuses you have data for
147-
hiatus = HiatusData(nHiatuses) # Struct to hold data
146+
nhiatuses = 2 # The number of hiatuses you have data for
147+
hiatus = HiatusData(nhiatuses) # Struct to hold data
148148
hiatus.Height = [-371.5, -405.0 ]
149149
hiatus.Height_sigma = [ 0.0, 0.0 ]
150150
hiatus.Duration = [ 100.0, 123.0 ]
@@ -161,6 +161,6 @@ hiatus.Duration_sigma = [ 30.5, 20.0 ]
161161
# Test that all age-depth models are in stratigraphic order
162162
@test all([issorted(x, rev=true) for x in eachcol(agedist)])
163163
@test all(!isnan, agedist)
164-
@test size(hiatusdist) == (nHiatuses, config.nsteps)
164+
@test size(hiatusdist) == (nhiatuses, config.nsteps)
165165
@test mean(hiatusdist, dims=2) [110.5; 187.3;;] atol=20
166166
@test -Inf < mean(lldist) < 0

test/testStratOnly.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ config.sieve = round(Int,npoints_approx) # Record one out of every nsieve steps
3939
@test NamedTuple(mdl) isa NamedTuple
4040

4141
# Data about hiatuses
42-
nHiatuses = 2 # The number of hiatuses you have data for
43-
hiatus = HiatusData(nHiatuses) # Struct to hold data
42+
nhiatuses = 2 # The number of hiatuses you have data for
43+
hiatus = HiatusData(nhiatuses) # Struct to hold data
4444
hiatus.Height = [-371.5, -405.0 ]
4545
hiatus.Height_sigma = [ 0.0, 0.0 ]
4646
hiatus.Duration = [ 10.0, 12.3 ]
@@ -57,6 +57,6 @@ hiatus.Duration_sigma = [ 3.1, 2.0 ]
5757
# Test that all age-depth models are in stratigraphic order
5858
@test all([issorted(x, rev=true) for x in eachcol(agedist)])
5959
@test all(!isnan, agedist)
60-
@test size(hiatusdist) == (nHiatuses, config.nsteps)
60+
@test size(hiatusdist) == (nhiatuses, config.nsteps)
6161
@test mean(hiatusdist, dims=2) [10.580012942504894; 18.96167245288326;;] atol=2
6262
@test -Inf < mean(lldist) < 0

test/testStratOnlyGeneral.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ config.sieve = round(Int,npoints_approx) # Record one out of every nsieve steps
3636
@test NamedTuple(mdl) isa NamedTuple
3737

3838
# Data about hiatuses
39-
nHiatuses = 2 # The number of hiatuses you have data for
40-
hiatus = HiatusData(nHiatuses) # Struct to hold data
39+
nhiatuses = 2 # The number of hiatuses you have data for
40+
hiatus = HiatusData(nhiatuses) # Struct to hold data
4141
hiatus.Height = [ 150.0, 350.0 ]
4242
hiatus.Height_sigma = [ 0.0, 0.0 ]
4343
hiatus.Duration = [ 1.0, 2.3 ]
@@ -54,6 +54,6 @@ hiatus.Duration_sigma = [ 1.0, 0.5 ]
5454
# Test that all age-depth models are in stratigraphic order
5555
@test all([issorted(x, rev=true) for x in eachcol(agedist)])
5656
@test all(!isnan, agedist)
57-
@test size(hiatusdist) == (nHiatuses, config.nsteps)
57+
@test size(hiatusdist) == (nhiatuses, config.nsteps)
5858
@test mean(hiatusdist, dims=2) [0.9662452348821302; 1.9517040131111487;;] atol=2
5959
@test -Inf < mean(lldist) < 0

0 commit comments

Comments
 (0)