Made some updates to func test case
This commit is contained in:
parent
011c968192
commit
5f0e4697b5
@ -8,13 +8,13 @@ func TestFunc (test *testing.T) {
|
|||||||
---
|
---
|
||||||
func ro aBasicExternal
|
func ro aBasicExternal
|
||||||
> someInput:Int:mut
|
> someInput:Int:mut
|
||||||
< someOutput:Int:<4>
|
< someOutput:Int 4
|
||||||
---
|
---
|
||||||
external
|
external
|
||||||
func ro bMethod
|
func ro bMethod
|
||||||
@ bird:{Bird}
|
@ bird:{Bird}
|
||||||
> someInput:Int:mut
|
> someInput:Int:mut
|
||||||
< someOutput:Int:<4>
|
< someOutput:Int 4
|
||||||
---
|
---
|
||||||
external
|
external
|
||||||
func ro cBasicPhrases
|
func ro cBasicPhrases
|
||||||
@ -99,11 +99,11 @@ func ro gControlFlow
|
|||||||
[nestedThing]
|
[nestedThing]
|
||||||
[else]
|
[else]
|
||||||
[otherThing]
|
[otherThing]
|
||||||
func ro hSetPhrase
|
func ro hDataInit
|
||||||
---
|
---
|
||||||
[let x:Int:<3>]
|
[let x:Int 3]
|
||||||
[let y:{Int}:<[loc x]>]
|
[let y:{Int} [loc x]]
|
||||||
[let z:Int:8:<398 9 2309 983 -2387 478 555 123>]
|
[let z:Int:8 (398 9 2309 983 -2387 478 555 123)]
|
||||||
[let bird:Bird:(.that:(.whenYou:<99999>) .this:<324>)]
|
[let bird:Bird ((99999) 324)]
|
||||||
`, test)
|
`, test)
|
||||||
}
|
}
|
||||||
|
@ -122,9 +122,9 @@ func ro gControlFlow
|
|||||||
else
|
else
|
||||||
otherThing
|
otherThing
|
||||||
|
|
||||||
func ro hSetPhrase
|
func ro hDataInit
|
||||||
---
|
---
|
||||||
let x:Int:<3>
|
let x:Int 3
|
||||||
# loc is a reference, similar to * in C
|
# loc is a reference, similar to * in C
|
||||||
let y:{Int} [loc x]
|
let y:{Int} [loc x]
|
||||||
let z:Int:8 (398 9 2309 983 -2387
|
let z:Int:8 (398 9 2309 983 -2387
|
||||||
|
Reference in New Issue
Block a user