Rename examples to misc and tests to examples
parent
d3f789aa9a
commit
e5c4b67ec3
|
@ -37,7 +37,7 @@ bool run_tests()
|
||||||
TEST(dirLeft(LEFT) == DOWN);
|
TEST(dirLeft(LEFT) == DOWN);
|
||||||
|
|
||||||
Canvas d;
|
Canvas d;
|
||||||
TEST(d.readFromFile("tests/hello_world.rf"));
|
TEST(d.readFromFile("examples/hello_world.rf"));
|
||||||
|
|
||||||
std::string line = "> v";
|
std::string line = "> v";
|
||||||
int y = 0;
|
int y = 0;
|
||||||
|
|
4
test.sh
4
test.sh
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
rm -rf /tmp/rufunge
|
rm -rf /tmp/rufunge
|
||||||
mkdir /tmp/rufunge
|
mkdir /tmp/rufunge
|
||||||
mkdir /tmp/rufunge/tests
|
mkdir /tmp/rufunge/examples
|
||||||
|
|
||||||
for name in tests/*.rf; do
|
for name in examples/*.rf; do
|
||||||
./bin/a $name > /tmp/rufunge/$name.txt
|
./bin/a $name > /tmp/rufunge/$name.txt
|
||||||
|
|
||||||
echo Result for $name:
|
echo Result for $name:
|
||||||
|
|
Loading…
Reference in New Issue