veloren/world
David Fisher e2a0bc55c3 Lower grass target in standalone economy tests
because: The test_economy_moderate_standalone was failing tests on
arm64 MacOS systems with the following error:

```
thread 'site::economy::context::tests::test_economy_moderate_standalone' panicked at 'assertion failed: site.economy.pop >= env.targets[&id]', world/src/site/economy/context.rs:562:17
```

This was originally reported in Discord by @sharp in July, 2022
https://discord.com/channels/449602562165833758/797421546871324712/997332351195553874

Debugging showed that the grass target was 880, and the population was only around 718.
Local testing showed that lowering the grass target to 700 fixed the issue.

this commit: Lowers the grass target to 700 in the standalone economy tests.

unaddressed questions:

- Why is the grass target so high in the standalone economy tests?
- Alternately, why did the grass population drift so low, and no longer aligned with the tests.
- Why is this passing in CI, but not local testing?
- There are a number of commented out add_settlement calls in the standalone economy tests. Were there issues with the tests prior?
2023-07-31 16:51:29 -04:00
..
benches Fixed clippy warnings and fmt 2021-03-07 14:25:07 +00:00
examples Dungeon rework initial patch 2023-07-09 20:03:09 +00:00
src Lower grass target in standalone economy tests 2023-07-31 16:51:29 -04:00
Cargo.toml use workspace dependencies to make our life easier maintaining them :) 2023-05-10 18:16:25 +02:00
economy_testinput2.ron separate orders by professions and everyone 2022-06-07 18:30:05 +02:00