C# Class CK.Text.Tests.StringAndStringBuilderExtensionTests

Mostra file Open project: Invenietis/ck-core

Public Methods

Method Description
TestPerf ( string text, int count ) : void

Private Methods

Method Description
HexDigitValue_extension_method_on_character ( char c, int expected ) : void
PrefixWithNaiveReplace ( Stopwatch w, string f, string results ) : long
PrefixWithOurExtension ( Stopwatch w, string f, string results ) : long
StringBuilder_AppendStrings_method_does_not_skip_null_entries ( ) : void
appending_multi_lines_to_empty_lines ( ) : void
appending_multi_lines_with_a_prefix ( ) : void
appending_multi_lines_with_a_prefix_with_null_or_empty_or_one_line ( ) : void
appending_multi_lines_with_prefixLastEmptyLine ( ) : void
appending_multiple_strings_with_a_repeat_count ( ) : void
appends_multiple_strings_silently_ignores_0_or_negative_RepeatCount ( ) : void
appends_multiple_strings_silently_ignores_null_or_empty_string_to_repeat ( ) : void
concat_method_uses_StringBuilder_AppendStrings_inside ( ) : void
our_appending_multi_lines_is_better_than_naive_implementation_in_release_but_not_in_debug ( ) : void

Method Details

TestPerf() public method

public TestPerf ( string text, int count ) : void
text string
count int
return void