I only skimmed over your code briefly. It seems you implemented a class method #masses which returns stuff, but never call that method. You reference the class var #masses which is never initialized. So I guess there should be some place where you assign the return value of #masses to the masses variable....? HTH Joachim Am 31.12.19 um 12:00 schrieb Roelof Wobben:
Hello,
Im still trying to make part1 of day2 working at a way I can also test things. the tests are working but when I call on the class side the method which should reed the masses which are on the instanc side , the masses cannnot be found.
So question 1 is why is masses not found.
and question 2Â is how can I use the changed array at the process method so I can calculate the outcome.
Regards,
Roelof
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1