- add ceedling/cmock/unity as testing framework and support
- unified makefile project for the whole repos - new separate project for tests
This commit is contained in:
9
tests/vendor/ceedling/lib/reportinator.rb
vendored
Normal file
9
tests/vendor/ceedling/lib/reportinator.rb
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
class Reportinator
|
||||
|
||||
def generate_banner(message, width=nil)
|
||||
dash_count = ((width.nil?) ? message.strip.length : width)
|
||||
return "#{'-' * dash_count}\n#{message}\n#{'-' * dash_count}\n"
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user