~ubuntu-branches/debian/sid/gsl/sid

« back to all changes in this revision

Viewing changes to cheb/test.c

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2008-12-16 06:17:55 UTC
  • mfrom: (1.3.2 upstream) (3.1.15 jaunty)
  • Revision ID: james.westby@ubuntu.com-20081216061755-9la7p0qwrhopk8pl
Tags: 1.12+dfsg-1
* New upstream version released today

* doc/*: As before, removed the 'non-free' documentation to create a 
  source package that complies with Debian's interpretation of what is free. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
  gsl_cheb_init(cs, &F_T0, -1.0, 1.0);
77
77
 
 
78
  {
 
79
    size_t expected = 40;
 
80
    size_t order = gsl_cheb_order (cs);
 
81
    size_t size = gsl_cheb_size (cs);
 
82
    double * p = gsl_cheb_coeffs (cs);
 
83
    gsl_test(order != expected, "gsl_cheb_order");
 
84
    gsl_test(size != expected + 1, "gsl_cheb_size");
 
85
    gsl_test(p != cs->c, "gsl_cheb_coeffs");
 
86
  }
 
87
 
78
88
  for (i = 0; i<cs->order; i++)
79
89
    {
80
90
      double c_exp = (i == 0) ? 2.0 : 0.0;