remove _ in names
This commit is contained in:
parent
829db87c40
commit
3af7344581
1270 changed files with 0 additions and 18916 deletions
|
|
@ -1,9 +0,0 @@
|
|||
#include <assert.h>
|
||||
|
||||
int main(){
|
||||
int a;
|
||||
/* ...input or change a here */
|
||||
assert(a == 42); /* aborts program when a is not 42, unless the NDEBUG macro was defined */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
class MAIN
|
||||
creation main
|
||||
feature main is
|
||||
local
|
||||
test: TEST;
|
||||
do
|
||||
create test;
|
||||
|
||||
io.read_integer;
|
||||
test.assert(io.last_integer);
|
||||
end
|
||||
end
|
||||
|
|
@ -1 +0,0 @@
|
|||
open my $fh, '<', 'file' or die "Cannot open file: $!\n"; # $! contains the error message from the last error
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
...
|
||||
~(assert (= N 42)) # Exists only in debug mode
|
||||
...
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
#lang racket
|
||||
|
||||
(define/contract x
|
||||
(=/c 42) ; make sure x = 42
|
||||
42)
|
||||
|
||||
(define/contract f
|
||||
(-> number? (or/c 'yes 'no)) ; function contract
|
||||
(lambda (x)
|
||||
(if (= 42 x) 'yes 'no)))
|
||||
|
||||
(f 42) ; succeeds
|
||||
(f "foo") ; contract error!
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
assert(a == 42)
|
||||
assert(a == 42, "a isn't equal to 42")
|
||||
assume(a == 42)
|
||||
assume(a == 42, "a isn't equal to 42")
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
foo := 41.
|
||||
...
|
||||
self assert: (foo == 42).
|
||||
Loading…
Add table
Add a link
Reference in a new issue