writeln Method test sample