Test should pass? SunOS

new topic     » topic index » view thread      » older message » newer message

In tests, t_literals.e, why does test at line 211 fail?

test_equal( "Avagadro #1", 6.022141 * power(10,23), scientific_to_atom("6.022141e23") )

If I run it stand alone, and add print result, I see no difference.

? 6.022141 * power(10,23) 
? scientific_to_atom("6.022141e23") 

agrellum@claudville:~$ eui confused.ex  
  failed: Avagadro #1, expected: 6.022141e+23 but got: 6.022141e+23 
6.022141e+23 
6.022141e+23 

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu