Reorganize tests and benchmark scripts.

Mainly to get rid of one top level directory. But this will
also be useful when there are tests of the embedding API.
This commit is contained in:
Bob Nystrom
2015-03-14 12:45:56 -07:00
parent e2a72282a1
commit 64eccdd9be
562 changed files with 32 additions and 8 deletions
+16
View File
@@ -0,0 +1,16 @@
class Foo {
static initialize { __field = "Foo field" }
static closeOverGet {
return new Fn { __field }
}
static closeOverSet {
return new Fn { __field = "new value" }
}
}
Foo.initialize
IO.print(Foo.closeOverGet.call()) // expect: Foo field
Foo.closeOverSet.call()
IO.print(Foo.closeOverGet.call()) // expect: new value