<reponame>doha22/Training_one
from games import points
from games import points2

def test(benchmark):
    assert benchmark(points,['1:0','2:0','3:0','4:0','2:1','3:1','4:1','3:2','4:2','4:3']) == 30



def test2(benchmark):
    assert benchmark(points2,['1:0','2:0','3:0','4:0','2:1','3:1','4:1','3:2','4:2','4:3']) == 30

'''''''''''
------------------------------------------------------------------------------------- benchmark: 2 tests ------------------------------------------------------------------------------------

Name (time in us)         Min                 Max               Mean             StdDev             Median                IQR            Outliers  OPS (Kops/s)            Rounds  Iterations

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

test2                 21.3475 (1.0)      678.6032 (1.39)     31.6177 (1.0)      16.6986 (1.0)      22.9896 (1.0)      17.6527 (1.0)       805;451       31.6278 (1.0)       25374           1

test                  32.4317 (1.52)     488.9391 (1.0)      46.8544 (1.48)     20.7544 (1.24)     34.0738 (1.48)     29.1475 (1.65)     1167;230       21.3427 (0.67)      14000           1

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




'''''''''''
from games import points
from games import points2

def test(benchmark):
    assert benchmark(points,['1:0','2:0','3:0','4:0','2:1','3:1','4:1','3:2','4:2','4:3']) == 30



def test2(benchmark):
    assert benchmark(points2,['1:0','2:0','3:0','4:0','2:1','3:1','4:1','3:2','4:2','4:3']) == 30

'''''''''''
------------------------------------------------------------------------------------- benchmark: 2 tests ------------------------------------------------------------------------------------

Name (time in us)         Min                 Max               Mean             StdDev             Median                IQR            Outliers  OPS (Kops/s)            Rounds  Iterations

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

test2                 21.3475 (1.0)      678.6032 (1.39)     31.6177 (1.0)      16.6986 (1.0)      22.9896 (1.0)      17.6527 (1.0)       805;451       31.6278 (1.0)       25374           1

test                  32.4317 (1.52)     488.9391 (1.0)      46.8544 (1.48)     20.7544 (1.24)     34.0738 (1.48)     29.1475 (1.65)     1167;230       21.3427 (0.67)      14000           1

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




'''''''''''
'' ------------------------------------------------------------------------------------- benchmark: 2 tests ------------------------------------------------------------------------------------  Name (time in us)         Min                 Max               Mean             StdDev             Median                IQR            Outliers  OPS (Kops/s)            Rounds  Iterations  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  test2                 21.3475 (1.0)      678.6032 (1.39)     31.6177 (1.0)      16.6986 (1.0)      22.9896 (1.0)      17.6527 (1.0)       805;451       31.6278 (1.0)       25374           1  test                  32.4317 (1.52)     488.9391 (1.0)      46.8544 (1.48)     20.7544 (1.24)     34.0738 (1.48)     29.1475 (1.65)     1167;230       21.3427 (0.67)      14000           1  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------