Missed part of "Store Sequence sequence location in a shared_ptr class"
authorDiane Trout <diane@caltech.edu>
Wed, 21 Mar 2007 07:29:39 +0000 (07:29 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 21 Mar 2007 07:29:39 +0000 (07:29 +0000)
Bad things happen if you let eclipse refactor your _darcs pristine
repository. Modifications that you made don't get recorded.

This patch should make buildbot happy.

alg/glsequence.hpp
alg/test/test_glsequence.cpp

index 01b7e056da8ce8c53286f089cf5fce1c4746374d..62014b4fc7175c5a1abbcb5699912617184faf74 100644 (file)
@@ -65,7 +65,7 @@ public:
   boost::shared_ptr<Color> color();
 
   //! how big is a pixel in world coordinats
   boost::shared_ptr<Color> color();
 
   //! how big is a pixel in world coordinats
-  GLfloat get_pixel_width(GLfloat, GLfloat) const;
+  GLfloat pixelWidth(GLfloat, GLfloat) const;
   //! how big is a pixel in world coordinats (specifying viewport size)
   GLfloat pixelWidth(GLfloat, GLfloat, int) const;
 
   //! how big is a pixel in world coordinats (specifying viewport size)
   GLfloat pixelWidth(GLfloat, GLfloat, int) const;
 
index 663cde7bf30afa5fc348f70b7a96c5e4078173b1..37b76ee06f2fe65fe322b871ce0b5f2e23818e74 100644 (file)
@@ -56,8 +56,8 @@ BOOST_AUTO_TEST_CASE( glsequence_renderable )
   // way fewer basepairs than viewport pixel width
   BOOST_CHECK_EQUAL(s.is_sequence_renderable( 0, 10, 500), true);
 
   // way fewer basepairs than viewport pixel width
   BOOST_CHECK_EQUAL(s.is_sequence_renderable( 0, 10, 500), true);
 
-  BOOST_CHECK_CLOSE((double)s.get_pixel_width(0, 100, 100), 1.0, 1e-6);
-  BOOST_CHECK_CLOSE((double)s.get_pixel_width(0, 1000, 100), 10.0, 1e-6);
+  BOOST_CHECK_CLOSE((double)s.pixelWidth(0, 100, 100), 1.0, 1e-6);
+  BOOST_CHECK_CLOSE((double)s.pixelWidth(0, 1000, 100), 10.0, 1e-6);
 }
 
 BOOST_AUTO_TEST_CASE( glsequence_sequence )
 }
 
 BOOST_AUTO_TEST_CASE( glsequence_sequence )