LoadSaveSceneTest.h 685 B

1234567891011121314151617181920212223242526
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #pragma once
  5. #include <Tests/Test.h>
  6. #include <Jolt/Physics/PhysicsScene.h>
  7. class LoadSaveSceneTest : public Test
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, LoadSaveSceneTest)
  11. // Description of the test
  12. virtual const char * GetDescription() const override
  13. {
  14. return "Tests the object stream serialization system by creating a number of shapes, storing them, loading them and then simulating them.";
  15. }
  16. // See: Test
  17. virtual void Initialize() override;
  18. // Create a test scene
  19. static Ref<PhysicsScene> sCreateScene();
  20. };