diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 15:15:48 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 15:15:48 +0000 |
commit | 8c5b60eb22d6d661e87992a65d54e3a5bc0aeed4 (patch) | |
tree | 7905b284cb5b3d62c17ad8a939e339621a498a2c /spec/ruby/library/matrix | |
parent | 6530b14cee76e2512424d225e64d3c61dd1f6511 (diff) | |
download | ruby-8c5b60eb22d6d661e87992a65d54e3a5bc0aeed4.tar.gz |
Update to ruby/spec@a6b8805
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/matrix')
-rw-r--r-- | spec/ruby/library/matrix/diagonal_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/matrix/hermitian_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/matrix/normal_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/matrix/orthogonal_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/matrix/permutation_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/matrix/symmetric_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/matrix/unitary_spec.rb | 4 |
7 files changed, 16 insertions, 16 deletions
diff --git a/spec/ruby/library/matrix/diagonal_spec.rb b/spec/ruby/library/matrix/diagonal_spec.rb index c88a92b5cd..ddf5a8d292 100644 --- a/spec/ruby/library/matrix/diagonal_spec.rb +++ b/spec/ruby/library/matrix/diagonal_spec.rb @@ -63,9 +63,9 @@ describe "Matrix.diagonal?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.diagonal? + rectangular_matrix.diagonal? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/hermitian_spec.rb b/spec/ruby/library/matrix/hermitian_spec.rb index cbfea433c2..e108ba1e34 100644 --- a/spec/ruby/library/matrix/hermitian_spec.rb +++ b/spec/ruby/library/matrix/hermitian_spec.rb @@ -10,7 +10,7 @@ describe "Matrix.hermitian?" do Matrix.empty.hermitian?.should be_true end - it "returns false for an assymetric Matrix" do + it "returns false for an asymmetric Matrix" do Matrix[[1, 2],[-2, 1]].hermitian?.should be_false end @@ -20,9 +20,9 @@ describe "Matrix.hermitian?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.hermitian? + rectangular_matrix.hermitian? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/normal_spec.rb b/spec/ruby/library/matrix/normal_spec.rb index 140909dcc2..5f0b8e6362 100644 --- a/spec/ruby/library/matrix/normal_spec.rb +++ b/spec/ruby/library/matrix/normal_spec.rb @@ -17,9 +17,9 @@ describe "Matrix.normal?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.normal? + rectangular_matrix.normal? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/orthogonal_spec.rb b/spec/ruby/library/matrix/orthogonal_spec.rb index 2e76b5924c..78f5c1be5d 100644 --- a/spec/ruby/library/matrix/orthogonal_spec.rb +++ b/spec/ruby/library/matrix/orthogonal_spec.rb @@ -17,9 +17,9 @@ describe "Matrix.orthogonal?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.orthogonal? + rectangular_matrix.orthogonal? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/permutation_spec.rb b/spec/ruby/library/matrix/permutation_spec.rb index 7098c46015..f40de4f58f 100644 --- a/spec/ruby/library/matrix/permutation_spec.rb +++ b/spec/ruby/library/matrix/permutation_spec.rb @@ -23,9 +23,9 @@ describe "Matrix#permutation?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.permutation? + rectangular_matrix.permutation? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/symmetric_spec.rb b/spec/ruby/library/matrix/symmetric_spec.rb index 53f962c0e2..c34a323510 100644 --- a/spec/ruby/library/matrix/symmetric_spec.rb +++ b/spec/ruby/library/matrix/symmetric_spec.rb @@ -10,7 +10,7 @@ describe "Matrix.symmetric?" do Matrix.empty.symmetric?.should be_true end - it "returns false for an assymetric Matrix" do + it "returns false for an asymmetric Matrix" do Matrix[[1, 2],[-2, 1]].symmetric?.should be_false end @@ -20,9 +20,9 @@ describe "Matrix.symmetric?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.symmetric? + rectangular_matrix.symmetric? }.should raise_error(Matrix::ErrDimensionMismatch) end end diff --git a/spec/ruby/library/matrix/unitary_spec.rb b/spec/ruby/library/matrix/unitary_spec.rb index e322a5a3ce..0ea5586a6d 100644 --- a/spec/ruby/library/matrix/unitary_spec.rb +++ b/spec/ruby/library/matrix/unitary_spec.rb @@ -19,9 +19,9 @@ describe "Matrix.unitary?" do Matrix[[0, 0]], Matrix.empty(0, 2), Matrix.empty(2, 0), - ].each do |rectangual_matrix| + ].each do |rectangular_matrix| lambda { - rectangual_matrix.unitary? + rectangular_matrix.unitary? }.should raise_error(Matrix::ErrDimensionMismatch) end end |