From ed90828eb9712de21ecf7bfa5dfe88bd27672a0b Mon Sep 17 00:00:00 2001 From: Vee9ahd1 Date: Wed, 21 Aug 2019 22:22:10 -0400 Subject: added test for circle function... which doesn't get used yet --- test/latent_space_test.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/latent_space_test.py') diff --git a/test/latent_space_test.py b/test/latent_space_test.py index d05eb78..4719a5d 100644 --- a/test/latent_space_test.py +++ b/test/latent_space_test.py @@ -170,6 +170,13 @@ class TestLatentSpace(unittest.TestCase): batch_size=batch_size, interp_method='cubic') + def test_circle(self): + n_vector = 100 + n_label = 1000 + center = create_random_keyframe(n_vector, n_label)['vector'] + normal = create_random_keyframe(n_vector, n_label)['vector'] + latent_space.circle([center, normal], step_count) + if __name__ == '__main__': unittest.main() -- cgit v1.2.1