mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-04-27 03:09:37 +02:00
added Go variant
- using homegrown approval test function
This commit is contained in:
15
go/theatre/testdata/TestPrinterPrintByApproval/1.in.json
vendored
Normal file
15
go/theatre/testdata/TestPrinterPrintByApproval/1.in.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"plays": [
|
||||
{ "id": "hamlet", "play": { "name": "Hamlet", "type": "tragedy" } },
|
||||
{ "id": "as-like", "play": { "name": "As You Like It", "type": "comedy" } },
|
||||
{ "id": "othello", "play": { "name": "Othello", "type": "tragedy" } }
|
||||
],
|
||||
"invoice": {
|
||||
"customer": "BigCo",
|
||||
"performances": [
|
||||
{"playId": "hamlet", "audience": 55 },
|
||||
{"playId": "as-like", "audience": 35 },
|
||||
{"playId": "othello", "audience": 40 }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user