| 8 | using namespace Star; |
| 9 | |
| 10 | void validateWorld(TestUniverse& testUniverse) { |
| 11 | testUniverse.update(100); |
| 12 | |
| 13 | // Just make sure the test world draws something for now, this will grow to |
| 14 | // include more than this. |
| 15 | EXPECT_GE(testUniverse.currentClientDrawables().size(), 1u) << strf("world: {}", testUniverse.currentPlayerWorld()); |
| 16 | |
| 17 | auto assets = Root::singleton().assets(); |
| 18 | for (auto const& drawable : testUniverse.currentClientDrawables()) { |
| 19 | if (drawable.isImage()) |
| 20 | assets->image(drawable.imagePart().image); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | TEST(SpawnTest, RandomCelestialWorld) { |
| 25 | CelestialMasterDatabase celestialDatabase; |
no test coverage detected