This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/parser/face_test.go

26 lines
381 B
Go
Raw Permalink Normal View History

2022-09-29 15:28:12 +00:00
package parser
import "testing"
func TestFace (test *testing.T) {
checkTree ("../tests/parser/face", false,
`:arf
---
face ro aReadWriter:Face
2022-09-29 15:28:12 +00:00
read
> into:{Byte ..}
< read:Int
< err:Error
write
> data:{Byte ..}
< wrote:Int
< err:Error
face ro bDestroyer:Face
2022-09-29 15:28:12 +00:00
destroy
face ro cFuncInterface:Func
2022-09-29 15:28:12 +00:00
> something:Int
< someOutput:Int
< otherOutput:String
`, test)
}