Execute world-aware placement modifiers
This commit is contained in:
parent
053c5bec6a
commit
11440f556c
5 changed files with 336 additions and 4 deletions
|
|
@ -71,3 +71,12 @@ func TestLegacyVectors(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestLegacySetSeedResetsGaussianCache(t *testing.T) {
|
||||
r := NewLegacy(12345)
|
||||
first := r.NextGaussian()
|
||||
r.SetSeed(12345)
|
||||
if got := r.NextGaussian(); got != first {
|
||||
t.Fatalf("NextGaussian after SetSeed = %v, want %v", got, first)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue