### Question:
AnimationUtils { public static int secondsToFrame(float seconds, int fps) { return (int) Math.floor(seconds * fps); }  static void scaleAnimation(Animation animation, float scale); static float framesToSeconds(int frame, int fps); static float framesToSeconds(int frame); static int secondsToFrame(float seconds, int fps); static float truncate(float number); static float truncate(float number, int precision);  }### Answer:
@Test public void test() { assertThat(AnimationUtils.secondsToFrame(0, 30), IsEqual.equalTo(0)); assertThat(AnimationUtils.secondsToFrame(0.03333334f, 30), IsEqual.equalTo(1)); assertThat(AnimationUtils.secondsToFrame(1f, 30), IsEqual.equalTo(30)); }