Skip to content

Commit

Permalink
test to remove shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
Laguna1989 committed Oct 31, 2023
1 parent 6e8d192 commit 5a27fb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
jobs:
LinuxSFML:
runs-on: ubuntu-latest
env:
DISPLAY: ':99'
steps:
- name: Set up cmake
uses: jwlawson/actions-setup-cmake@v1.11
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
run: jackd -d dummy &

- name: Test
run: xvfb-run ./jt_tests --gtest_shuffle
run: xvfb-run ./jt_tests
working-directory: ${{github.workspace}}/build/test/unit/jt_test

LinuxSDL:
Expand Down
3 changes: 2 additions & 1 deletion impl/gamelib/player/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::string selectWalkAnimation(jt::Vector2f const& velocity)

Player::Player(std::shared_ptr<jt::Box2DWorldInterface> world)
{
b2BodyDef def;
b2BodyDef def {};
def.type = b2BodyType::b2_dynamicBody;
m_b2Object = std::make_unique<jt::Box2DObject>(world, &def);
}
Expand All @@ -58,4 +58,5 @@ void Player::doUpdate(float const elapsed)
m_graphics->setAnimationIfNotSet(selectWalkAnimation(m_b2Object->getVelocity()));
m_graphics->updateGraphics(elapsed);
}

void Player::doDraw() const { m_graphics->draw(renderTarget()); }

0 comments on commit 5a27fb4

Please sign in to comment.