Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
087329e0
Commit
087329e0
authored
3 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[Marabou] Add test stub.
parent
d8218ba6
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
tests/autodetect.t
+1
-6
1 addition, 6 deletions
tests/autodetect.t
tests/bin/Marabou
+13
-0
13 additions, 0 deletions
tests/bin/Marabou
tests/dune
+1
-0
1 addition, 0 deletions
tests/dune
tests/marabout.t
+10
-8
10 additions, 8 deletions
tests/marabout.t
tests/simple.t
+1
-6
1 addition, 6 deletions
tests/simple.t
with
26 additions
and
20 deletions
tests/autodetect.t
+
1
−
6
View file @
087329e0
...
...
@@ -4,11 +4,6 @@ Test autodetect
>
echo
"
2.4.0
"
>
EOF
$
cat
-
>
bin
/
Marabou
<<
EOF
>
#!/bin/sh
>
echo
"
1.0.+
"
>
EOF
$
chmod
u
+
x
bin
/alt-ergo bin/p
yrat
.
py
bin
/
Marabou
$
bin
/
alt
-
ergo
...
...
@@ -17,7 +12,7 @@ Test autodetect
$
bin
/
pyrat
.
py
--
version
PyRAT
1.1
$
bin
/
Marabou
$
bin
/
Marabou
--
version
1.0
.+
$
PATH
=
$
(
pwd
)
/
bin:$PATH
...
...
This diff is collapsed.
Click to expand it.
tests/bin/Marabou
0 → 100644
+
13
−
0
View file @
087329e0
#!/bin/sh
case
$1
in
--version
)
echo
"1.0.+"
;;
*
)
echo
"NN:
$1
"
echo
"Goal:"
cat
$2
echo
"Unknown"
esac
This diff is collapsed.
Click to expand it.
tests/dune
+
1
−
0
View file @
087329e0
...
...
@@ -3,4 +3,5 @@
(package caisar)
TestNetwork.nnet
bin/pyrat.py
bin/Marabou
))
This diff is collapsed.
Click to expand it.
tests/marabout.t
+
10
−
8
View file @
087329e0
...
...
@@ -4,11 +4,6 @@ Test verify
>
echo
"
2.4.0
"
>
EOF
$
cat
-
>
bin
/
Marabou
<<
EOF
>
#!/bin/sh
>
echo
"
1.0.+
"
>
EOF
$
chmod
u
+
x
bin
/alt-ergo bin/p
yrat
.
py
bin
/
Marabou
$
bin
/
alt
-
ergo
...
...
@@ -17,7 +12,7 @@ Test verify
$
bin
/
pyrat
.
py
--
version
PyRAT
1.1
$
bin
/
Marabou
$
bin
/
Marabou
--
version
1.0
.+
$
PATH
=
$
(
pwd
)
/
bin:$PATH
...
...
@@ -43,7 +38,14 @@ Test verify
<
autodetect
>
Found
prover
Marabou
version
1.0
.+
,
OK
.
<
autodetect
>
Found
prover
PyRAT
version
1.1
,
OK
.
<
autodetect
>
3
prover
(
s
)
added
Goal
G:
High
failure
Goal
G:
Unknown
()
Output:
1.0
.+
NN:
./
TestNetwork
.
nnet
Goal:
x0
>
0.0
x0
<
0.5
y0
>
0.0
y0
<
0.5
Unknown
This diff is collapsed.
Click to expand it.
tests/simple.t
+
1
−
6
View file @
087329e0
...
...
@@ -4,11 +4,6 @@ Test verify
>
echo
"
2.4.0
"
>
EOF
$
cat
-
>
bin
/
Marabou
<<
EOF
>
#!/bin/sh
>
echo
"
1.0.+
"
>
EOF
$
chmod
u
+
x
bin
/alt-ergo bin/p
yrat
.
py
bin
/
Marabou
$
bin
/
alt
-
ergo
...
...
@@ -17,7 +12,7 @@ Test verify
$
bin
/
pyrat
.
py
--
version
PyRAT
1.1
$
bin
/
Marabou
$
bin
/
Marabou
--
version
1.0
.+
$
PATH
=
$
(
pwd
)
/
bin:$PATH
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment