[BioRuby-cvs] bioruby/test/unit/bio/db/pdb test_pdb.rb,1.1,1.2

Naohisa Goto ngoto at dev.open-bio.org
Tue Jun 27 14:25:42 UTC 2006


Update of /home/repository/bioruby/bioruby/test/unit/bio/db/pdb
In directory dev.open-bio.org:/tmp/cvs-serv9276/test/unit/bio/db/pdb

Modified Files:
	test_pdb.rb 
Log Message:
* License is changed to Ruby's.
* Follow changes to pdb.rb (as is nearly the same behavior as bioruby-0.6.4).


Index: test_pdb.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/pdb/test_pdb.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_pdb.rb	26 Jan 2006 16:06:03 -0000	1.1
--- test_pdb.rb	27 Jun 2006 14:25:40 -0000	1.2
***************
*** 5,29 ****
  #             Naohisa Goto <ng at bioruby.org>
  #
! # License:: LGPL
  #
  #  $Id$
  #
- #--
- #  This library is free software; you can redistribute it and/or
- #  modify it under the terms of the GNU Lesser General Public
- #  License as published by the Free Software Foundation; either
- #  version 2 of the License, or (at your option) any later version.
- #
- #  This library is distributed in the hope that it will be useful,
- #  but WITHOUT ANY WARRANTY; without even the implied warranty of
- #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- #  Lesser General Public License for more details.
- #
- #  You should have received a copy of the GNU Lesser General Public
- #  License along with this library; if not, write to the Free Software
- #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
- #++
- #
- #
  
  require 'pathname'
--- 5,12 ----
  #             Naohisa Goto <ng at bioruby.org>
  #
! # License:: Ruby's
  #
  #  $Id$
  #
  
  require 'pathname'
***************
*** 58,62 ****
  
        def test_name
!         assert_equal(' CG2', @atom.name)
        end
  
--- 41,45 ----
  
        def test_name
!         assert_equal('CG2', @atom.name)
        end
  
***************
*** 78,82 ****
  
        def test_iCode
!         assert_equal(' ', @atom.iCode)
        end
  
--- 61,65 ----
  
        def test_iCode
!         assert_equal('', @atom.iCode)
        end
  
***************
*** 102,114 ****
  
        def test_segID
!         assert_equal('A1  ', @atom.segID)
        end
  
        def test_element
!         assert_equal(' C', @atom.element)
        end
  
        def test_charge
!         assert_equal('  ', @atom.charge)
        end
  
--- 85,97 ----
  
        def test_segID
!         assert_equal('A1', @atom.segID)
        end
  
        def test_element
!         assert_equal('C', @atom.element)
        end
  
        def test_charge
!         assert_equal('', @atom.charge)
        end
  




More information about the bioruby-cvs mailing list