mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
more tests directory, fix missing tests
This commit is contained in:
parent
e21173173f
commit
0b85a84877
24 changed files with 43 additions and 43 deletions
3
lxc/tests/test.awk
Normal file
3
lxc/tests/test.awk
Normal file
|
@ -0,0 +1,3 @@
|
|||
good
|
||||
___code___
|
||||
{ print }
|
5
lxc/tests/test.c
Normal file
5
lxc/tests/test.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include <stdio.h>
|
||||
|
||||
void main(void) {
|
||||
printf("good\n");
|
||||
}
|
6
lxc/tests/test.cpp
Normal file
6
lxc/tests/test.cpp
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(void) {
|
||||
printf("good\n");
|
||||
return 1;
|
||||
}
|
9
lxc/tests/test.cs
Normal file
9
lxc/tests/test.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
|
||||
namespace HelloWorld {
|
||||
class Hello {
|
||||
static void Main() {
|
||||
Console.WriteLine("good");
|
||||
}
|
||||
}
|
||||
}
|
1
lxc/tests/test.el
Normal file
1
lxc/tests/test.el
Normal file
|
@ -0,0 +1 @@
|
|||
(message "good")
|
1
lxc/tests/test.exs
Normal file
1
lxc/tests/test.exs
Normal file
|
@ -0,0 +1 @@
|
|||
IO.puts("good")
|
7
lxc/tests/test.go
Normal file
7
lxc/tests/test.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("good")
|
||||
}
|
5
lxc/tests/test.java
Normal file
5
lxc/tests/test.java
Normal 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
1
lxc/tests/test.jl
Normal file
|
@ -0,0 +1 @@
|
|||
println("good")
|
1
lxc/tests/test.js
Normal file
1
lxc/tests/test.js
Normal file
|
@ -0,0 +1 @@
|
|||
console.log('good')
|
3
lxc/tests/test.kt
Normal file
3
lxc/tests/test.kt
Normal file
|
@ -0,0 +1,3 @@
|
|||
fun main(args: Array<String>) {
|
||||
println("good")
|
||||
}
|
16
lxc/tests/test.nasm
Normal file
16
lxc/tests/test.nasm
Normal 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
3
lxc/tests/test.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
echo 'good' . "\n";
|
1
lxc/tests/test.pl
Normal file
1
lxc/tests/test.pl
Normal file
|
@ -0,0 +1 @@
|
|||
print "good\n";
|
1
lxc/tests/test.rb
Normal file
1
lxc/tests/test.rb
Normal file
|
@ -0,0 +1 @@
|
|||
puts 'good'
|
3
lxc/tests/test.rs
Normal file
3
lxc/tests/test.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("good");
|
||||
}
|
1
lxc/tests/test.sh
Normal file
1
lxc/tests/test.sh
Normal file
|
@ -0,0 +1 @@
|
|||
echo 'good'
|
1
lxc/tests/test.swift
Normal file
1
lxc/tests/test.swift
Normal file
|
@ -0,0 +1 @@
|
|||
print("good")
|
1
lxc/tests/test.ts
Normal file
1
lxc/tests/test.ts
Normal file
|
@ -0,0 +1 @@
|
|||
console.log('good')
|
1
lxc/tests/test2.py
Normal file
1
lxc/tests/test2.py
Normal file
|
@ -0,0 +1 @@
|
|||
print 'good'
|
1
lxc/tests/test3.py
Normal file
1
lxc/tests/test3.py
Normal file
|
@ -0,0 +1 @@
|
|||
print('good')
|
Loading…
Add table
Add a link
Reference in a new issue