Testing of memberscope so we can close #91
This commit is contained in:
12
unittests/memberscope.chai
Normal file
12
unittests/memberscope.chai
Normal file
@@ -0,0 +1,12 @@
|
||||
attr Vector3::x
|
||||
attr Vector3::y
|
||||
attr Vector3::z
|
||||
|
||||
def Vector3::Vector3(x, y, z) {
|
||||
this.x = x
|
||||
this.y = y
|
||||
this.z = z
|
||||
}
|
||||
|
||||
var v = Vector3(1,2,3);
|
||||
print(v.x);
|
||||
1
unittests/memberscope.txt
Normal file
1
unittests/memberscope.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
Reference in New Issue
Block a user