Rename gradient functions

This commit is contained in:
Edwin Jakobs
2020-03-12 15:08:28 +01:00
parent eff96bac94
commit 1938cbcce3
2 changed files with 8 additions and 8 deletions

View File

@@ -6,28 +6,28 @@ import kotlin.test.assertEquals
object TestGradient : Spek({
describe("Noise") {
it("has a gradient") {
gradient(::perlinLinear, 100, 0.1)
gradient1D(::perlinLinear, 100, 0.1)
}
}
describe("FBM noise func") {
it("has a gradient") {
val func = fbmFunc1D(::perlinLinear)
gradient(func, 100, 0.1)
gradient1D(func, 100, 0.1)
}
}
describe("Billow noise func") {
it("has a gradient") {
val func = billowFunc1D(::perlinLinear)
gradient(func, 100, 0.1)
gradient1D(func, 100, 0.1)
}
}
describe("Rigid noise func") {
it("has a gradient") {
val func = rigidFunc1D(::perlinLinear)
gradient(func, 100, 0.1)
gradient1D(func, 100, 0.1)
}
}
})