Add static test directories
This commit is contained in:
parent
dfd20ad63b
commit
e462004881
16 changed files with 66 additions and 0 deletions
5
tests/cycle/A.js
Normal file
5
tests/cycle/A.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import B;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: 'a' + B.s
|
||||||
|
};
|
5
tests/cycle/B.js
Normal file
5
tests/cycle/B.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import C;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: 'b' + C.s
|
||||||
|
};
|
5
tests/cycle/C.js
Normal file
5
tests/cycle/C.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import A;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: 'c' + A.s
|
||||||
|
}
|
3
tests/cycle/Main.js
Normal file
3
tests/cycle/Main.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import A;
|
||||||
|
|
||||||
|
console.log(A.s);
|
5
tests/diamond/A.js
Normal file
5
tests/diamond/A.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import C;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: "Hello" + C.punctuation
|
||||||
|
};
|
5
tests/diamond/B.js
Normal file
5
tests/diamond/B.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import C;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: "world" + C.exclamation
|
||||||
|
};
|
4
tests/diamond/C.js
Normal file
4
tests/diamond/C.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
punctuation: ", ",
|
||||||
|
exclamation: " !"
|
||||||
|
};
|
4
tests/diamond/Main.js
Normal file
4
tests/diamond/Main.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import A;
|
||||||
|
import B;
|
||||||
|
|
||||||
|
console.log(A.s + B.s);
|
5
tests/loop/A.js
Normal file
5
tests/loop/A.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import A;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: 'a' + A.s
|
||||||
|
};
|
3
tests/loop/Main.js
Normal file
3
tests/loop/Main.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import A;
|
||||||
|
|
||||||
|
console.log(A.s);
|
3
tests/simple/A.js
Normal file
3
tests/simple/A.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
s: "Hello, "
|
||||||
|
};
|
3
tests/simple/B.js
Normal file
3
tests/simple/B.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
s: "world !"
|
||||||
|
};
|
4
tests/simple/Main.js
Normal file
4
tests/simple/Main.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import A;
|
||||||
|
import B;
|
||||||
|
|
||||||
|
console.log(A.s + B.s);
|
4
tests/triangle/Main.js
Normal file
4
tests/triangle/Main.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import N;
|
||||||
|
import O;
|
||||||
|
|
||||||
|
console.log(N.s + O.s);
|
5
tests/triangle/N.js
Normal file
5
tests/triangle/N.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import O;
|
||||||
|
|
||||||
|
return {
|
||||||
|
s: O.s
|
||||||
|
};
|
3
tests/triangle/O.js
Normal file
3
tests/triangle/O.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
s: 'o'
|
||||||
|
};
|
Loading…
Reference in a new issue