예제 #1
0
 def test_finds_distance_to_keyframe_after(self):
     self.assertEqual(get_distance_to_closest_kf(36, self.KEYTIMES), 4)
예제 #2
0
 def test_finds_correct_distance_to_last_keyframe(self):
     self.assertEqual(get_distance_to_closest_kf(105, self.KEYTIMES), -5)
예제 #3
0
 def test_finds_correct_distance_to_keyframe_before(self):
     self.assertEqual(get_distance_to_closest_kf(63, self.KEYTIMES), -3)
예제 #4
0
파일: main.py 프로젝트: tp7/Sushi
 def test_finds_distance_to_keyframe_after(self):
     self.assertEqual(sushi.get_distance_to_closest_kf(36, self.KEYTIMES), 4)
예제 #5
0
파일: main.py 프로젝트: tp7/Sushi
 def test_finds_correct_distance_to_keyframe_before(self):
     self.assertEqual(sushi.get_distance_to_closest_kf(63, self.KEYTIMES), -3)
예제 #6
0
파일: main.py 프로젝트: tp7/Sushi
 def test_finds_correct_distance_to_last_keyframe(self):
     self.assertEqual(sushi.get_distance_to_closest_kf(105, self.KEYTIMES), -5)
예제 #7
0
파일: main.py 프로젝트: FichteFoll/Sushi
 def test_finds_correct_distance_to_first_keyframe(self):
     self.assertEqual(sushi.get_distance_to_closest_kf(0, self.KEYTIMES), 0)
예제 #8
0
파일: main.py 프로젝트: shinchiro/Sushi
 def test_finds_correct_distance_to_first_keyframe(self):
     self.assertEqual(get_distance_to_closest_kf(0, self.KEYTIMES), 0)