Sha256: 6897b8c6f1c266aa8624bb80f1c2ae042051fbd75f91b66def621a154e4e3f9f
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
require "fraccion" require "matrices_p9" require "test/unit" # Pruebas unitarias de la clase matriz dispersa class Test_MatrizDispersa < Test::Unit::TestCase #Prueba con matrices dispersas 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-1.0.0 | test/tc_MatrizDispersa.rb |