numenta / htm.java

Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).
GNU Affero General Public License v3.0
308 stars 160 forks source link

Make junit tests results locale independent #536

Open jan-zajic opened 6 years ago

jan-zajic commented 6 years ago

I fix some junit tests because they fall on systems with different locale (with different Decimal Separator). Another option would be change mmPrettyPrintConnections output to always contains dots between decimals and whole numbers. see http://brilliantmaps.com/decimals/ ;)

cogmission commented 6 years ago

Hi @jan-zajic,

This looks good - let me know if you are still around and I'll merge this! Thanks for all of your hard work!

jan-zajic commented 6 years ago

Hi @cogmission, yes, of course.