@@ -0,0 +1,979 @@
+# coding: utf-8%0A%22%22%22%0A    Test the core Potential classes%0A%22%22%22%0A%0Afrom __future__ import absolute_import, unicode_literals, division, print_function%0A%0A__author__ = %22adrn %3Cadrn@astro.columbia.edu%3E%22%0A%0Aimport os%0Aimport pytest%0Aimport numpy as np%0Afrom astropy.utils.console import color_print%0Afrom astropy.constants import G%0Aimport astropy.units as u%0Aimport matplotlib.pyplot as plt%0Afrom matplotlib import cm%0A%0Afrom ..cpotential import CPotential%0A%0A#top_path = %22/tmp/streamteam%22%0Atop_path = %22plots/%22%0Aplot_path = os.path.join(top_path, %22tests/potential/cpotential%22)%0Aif not os.path.exists(plot_path):%0A    os.makedirs(plot_path)%0A%0Ausys = %5Bu.kpc,u.Myr,u.Msun,u.radian%5D%0AG = G.decompose(usys)%0A%0Aprint()%0Acolor_print(%22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%22, %22yellow%22)%0Acolor_print(%22To view plots:%22, %22green%22)%0Aprint(%22    open %7B%7D%22.format(plot_path))%0Acolor_print(%22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%22, %22yellow%22)%0A%0Adef test_simple():%0A    return%0A

test file for new cython