Commit e654f2901b33be0e2089994e87bee6e7c730e30e

Authored by Jürgen Knödlseder
1 parent 1a131cce

Adapt to OpenSolaris Infinity printing

Showing 1 changed file with 5 additions and 2 deletions
test/test_GVector.cpp
... ... @@ -281,10 +281,13 @@ void TestGVector::arithmetics(void){
281 281 m_result[3]==-m_test[3]&&
282 282 m_result[4]==-m_test[4],"GVector = -GVector");
283 283  
284   - // Devide by zero
  284 + // Divide by zero
285 285 m_result = m_test;
286 286 m_result /= 0.0;
287   - test_assert(m_result.print()=="(inf, inf, inf, inf, inf)"||m_result.print()=="(Inf, Inf, Inf, Inf, Inf)","Devide by zero",m_result.print());
  287 + test_assert(m_result.print() == "(inf, inf, inf, inf, inf)" ||
  288 + m_result.print() == "(Inf, Inf, Inf, Inf, Inf)" ||
  289 + m_result.print() == "(Infinity, Infinity, Infinity, Infinity, Infinity)" ,
  290 + "Divide by zero", m_result.print());
288 291  
289 292 // GVector + GVector
290 293 m_result = m_test + m_test;
... ...