Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pyofss-0.9/pyofss/tests/test_domain.py   pyofss(Download)
 
from pyofss.domain import Domain, OutOfRangeError, NotIntegerError
from pyofss.domain import nu_to_omega, nu_to_lambda
from pyofss.domain import omega_to_nu, omega_to_lambda
from pyofss.domain import lambda_to_nu, lambda_to_omega
      self.assertEqual( nu_to_lambda(domain.centre_nu), domain.centre_lambda )
      assert_array_almost_equal( nu_to_omega(domain.nu), domain.omega )
      assert_array_almost_equal( nu_to_lambda(domain.nu), domain.Lambda )
   # ===========================================================================
   def test_from_omega( self ):