Rename gradient functions
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user