void () { final MyWidthCalculator calculator = new MyWidthCalculator(); testString("this is just a test", "this is just a test", calculator); testString("this is just a test", "this is just a ", calculator); testString("dark side of the moon", "dark side of th", calculator); testString("my width calculator", "my", calculator); }