Parent

Methods

Class/Module Index [+]

Quicksearch

Test_MatrizDispersa

Pruebas unitarias de la clase matriz dispersa

Public Instance Methods

test_1() click to toggle source

Prueba con matrices dispersas

# File test/tc_MatrizDispersa.rb, line 8
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.