Skip to content

Commit

Permalink
#652 Fixed code smells for: IntroCutscene.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Murphy committed Oct 17, 2024
1 parent f361d50 commit 344680a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;

public class AnimatedSceneTest {
class AnimatedSceneTest {

@Test
public void testConstructorAndGetters() {
void testConstructorAndGetters() {
// Arrange
String atlasFilePath = "path/to/atlas";
String animName = "TestAnimation";
Expand All @@ -22,7 +22,7 @@ public void testConstructorAndGetters() {
}

@Test
public void testGetAtlasFilePath() {
void testGetAtlasFilePath() {
// Arrange
String atlasFilePath = "path/to/another/atlas";
AnimatedScene scene = new AnimatedScene(atlasFilePath, "Anim", 3.0f);
Expand All @@ -35,7 +35,7 @@ public void testGetAtlasFilePath() {
}

@Test
public void testGetDuration() {
void testGetDuration() {
// Arrange
float duration = 7.5f;
AnimatedScene scene = new AnimatedScene("path/to/atlas", "Anim", duration);
Expand All @@ -48,7 +48,7 @@ public void testGetDuration() {
}

@Test
public void testGetAnimName() {
void testGetAnimName() {
// Arrange
String animName = "WalkCycle";
AnimatedScene scene = new AnimatedScene("path/to/atlas", animName, 4.5f);
Expand Down

0 comments on commit 344680a

Please sign in to comment.