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 Normal View History

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