---
# System prepended metadata

title: 各玩法 Unit Test ＆ Benchmark
tags: [預測模組]

---

###### tags: `預測模組`

# 各玩法 Unit Test ＆ Benchmark

BenchMark 執行範例
```
go test ./internal/prediction/ah -v -bench=. -run=none -benchmem 
```


### 亞洲讓分盤(AH)

* Benchmark 測試展開比分 20,100,200 結果如下

![](https://i.imgur.com/rquf5Yl.png)

* Unit Test
    *    Reference: https://cloudlytics-data.atlassian.net/wiki/spaces/CLOUDLYTIC/pages/2028339205/EU
    *    結果如下

![](https://i.imgur.com/AqCOww7.png)


### 大小盤(OU)

* Benchmark 測試展開比分 20, 100, 200結果如下

![](https://i.imgur.com/joU5NWW.png)

* Unit Test
    *    Reference: https://cloudlytics-data.atlassian.net/wiki/spaces/CLOUDLYTIC/pages/2028339205/EU
    *    結果如下

![](https://i.imgur.com/TsYTxIp.png)
