Sha256: fc09ff42b3fe85c1896c0f92ba7cd5464448a0ac3ef46742e7cde7b3a9d4b787

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

# Pruebas unitarias de la clase matriz dispersa
require "fraccion"
require "matrices_p9"
require "test/unit"


class Test_MatrizDispersa < Test::Unit::TestCase
	
	def test_1
	
		assert_equal "[[0,0,2][1,1,4][2,2,6]]", (MatrizDispersa.new(3,3,[0,1,2],[0,1,2],[1,2,3]) + MatrizDispersa.new(3,3,[0,1,2],[0,1,2],[1,2,3])).to_s	
		
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matrices_p9-0.0.1 test/tc_MatrizDispersa.rb