<filename>codewars/6kyu/doha22/camal_case/bench_test.py
from camal_case import camel_case
from camal_case import camel_case2


def test(benchmark):
    assert benchmark(camel_case, "test case") == "TestCase"


def test2(benchmark):
    assert benchmark(camel_case2, "test case") == "TestCase"

'''''''''''    
----------------------------------------------------------------------------------------------- benchmark: 2 tests --------------------------------------------------------------------------
--------------------
Name (time in ns)          Min                       Max                  Mean                 StdDev                Median                   IQR            Outliers  OPS (Kops/s)
  Rounds  Iterations
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------
test2                 821.0575 (1.0)        203,211.7306 (1.0)      1,509.4845 (1.0)       1,452.5091 (1.0)      1,231.5862 (1.0)      1,231.5862 (1.0)      1551;917      662.4778 (1.0)
  187376           1
test                  821.0575 (1.00)     1,319,439.3984 (6.49)     3,009.5927 (1.99)     12,283.8113 (8.46)     2,873.7012 (2.33)     1,642.1150 (1.33)     578;2299      332.2709 (0.50)
   83996           1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean
================================================================================= 2 passed in 5.76 seconds =================================================================================

'''''''''