jamoma / JamomaCore

Jamoma Frameworks for Audio and Control Structure
Other
36 stars 14 forks source link

Add this code to unit test for TTValue #216

Open tap opened 10 years ago

tap commented 10 years ago

Théo reports that this code was acting strange and should be tested. Tim has seen this code crash on Windows, which makes no sense. So be warned...

        // to - this a very strange bug : the two first toString() parsing on number failed !?!
        // so here are two parsing to avoid this strange bug for instant ...
        TTString s;

        s = "0.001";
        v = s;
        v.fromString();

        v.clear();
        s = "1";
        v = s;
        v.fromString();