mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix MSVC build
Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
This commit is contained in:
parent
a648120d54
commit
5da6896d51
2 changed files with 2 additions and 2 deletions
|
@ -555,7 +555,7 @@ struct TestSettings: public TestBase
|
|||
UASSERT(fabs(np.spread.Z - 250) < 0.001);
|
||||
UASSERT(np.seed == 12345);
|
||||
UASSERT(np.octaves == 5);
|
||||
UASSERT(fabs(np.persist == 0.7) < 0.001);
|
||||
UASSERT(fabs(np.persist - 0.7) < 0.001);
|
||||
|
||||
np.offset = 3.5;
|
||||
np.octaves = 6;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue