more tests directory, fix missing tests

This commit is contained in:
Brian Seymour 2020-06-08 20:54:21 -05:00
parent e21173173f
commit 0b85a84877
24 changed files with 43 additions and 43 deletions

3
lxc/tests/test.awk Normal file
View file

@ -0,0 +1,3 @@
good
___code___
{ print }

5
lxc/tests/test.c Normal file
View file

@ -0,0 +1,5 @@
#include <stdio.h>
void main(void) {
printf("good\n");
}

6
lxc/tests/test.cpp Normal file
View file

@ -0,0 +1,6 @@
#include <iostream>
int main(void) {
printf("good\n");
return 1;
}

9
lxc/tests/test.cs Normal file
View file

@ -0,0 +1,9 @@
using System;
namespace HelloWorld {
class Hello {
static void Main() {
Console.WriteLine("good");
}
}
}

1
lxc/tests/test.el Normal file
View file

@ -0,0 +1 @@
(message "good")

1
lxc/tests/test.exs Normal file
View file

@ -0,0 +1 @@
IO.puts("good")

7
lxc/tests/test.go Normal file
View file

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("good")
}

5
lxc/tests/test.java Normal file
View file

@ -0,0 +1,5 @@
public class HelloWorld {
public static void main(String[] args) {
System.out.println("good");
}
}

1
lxc/tests/test.jl Normal file
View file

@ -0,0 +1 @@
println("good")

1
lxc/tests/test.js Normal file
View file

@ -0,0 +1 @@
console.log('good')

3
lxc/tests/test.kt Normal file
View file

@ -0,0 +1,3 @@
fun main(args: Array<String>) {
println("good")
}

16
lxc/tests/test.nasm Normal file
View file

@ -0,0 +1,16 @@
SECTION .DATA
good: db 'good',10
txtlen: equ $-good
SECTION .TEXT
GLOBAL _start
_start:
mov eax,4
mov ebx,1
mov ecx,good
mov edx,txtlen
int 80h
mov eax,1
mov ebx,0
int 80h

3
lxc/tests/test.php Normal file
View file

@ -0,0 +1,3 @@
<?php
echo 'good' . "\n";

1
lxc/tests/test.pl Normal file
View file

@ -0,0 +1 @@
print "good\n";

1
lxc/tests/test.rb Normal file
View file

@ -0,0 +1 @@
puts 'good'

3
lxc/tests/test.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("good");
}

1
lxc/tests/test.sh Normal file
View file

@ -0,0 +1 @@
echo 'good'

1
lxc/tests/test.swift Normal file
View file

@ -0,0 +1 @@
print("good")

1
lxc/tests/test.ts Normal file
View file

@ -0,0 +1 @@
console.log('good')

1
lxc/tests/test2.py Normal file
View file

@ -0,0 +1 @@
print 'good'

1
lxc/tests/test3.py Normal file
View file

@ -0,0 +1 @@
print('good')