Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KylieGong committed Aug 14, 2023
1 parent 2f71f0e commit 4f6e9f8
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 42 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ test4:
python pysimplegui.py

test5:
python pyqt.py testfile
python pyqt.py testfile.sh

test6:
python pyqt.py testfile2
python pyqt.py testfile2.sh

# collaborations
agui_t:
Expand Down
2 changes: 1 addition & 1 deletion testfile → testfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
dir3=fum # help for input dir3 #> IDIR
dir4=baz # help for output dir4 #> ODIR
hello=world # help for text entry hello #> ENTRY
a=1 # help for a, between 0 and 2 #> SCALE 0:2:0.1
a=1 # help for a, between 0 and 2 #> SCALE 0:100:50
b=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
c=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c

Expand Down
39 changes: 0 additions & 39 deletions testfile2

This file was deleted.

37 changes: 37 additions & 0 deletions testfile2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#! /usr/bin/env bash
#
# new 2023 style bash

file1=foo # help for input file1 #> IFILE
file2=bar # help for output file2 #> OFILE
dir3=fum # help for input dir3 #> IDIR
dir4=baz # help for output dir4 #> ODIR
hello=world # help for text entry hello #> ENTRY
slide1=1 # help for a, between 0 and 2 #> SCALE 0:2:0.1
slide2=2 # help for a, between 0 and 2 #> SCALE 0:10:2
slide3=0 # help for a, between 0 and 2 #> SCALE 0:1:0.01
slide4=0.001 # help for a, between 0 and 2 #> SCALE 0:1:0.001
c=15 # help for a, between 0 and 2 #> SCALE 10:20:1
d=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
e=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
f=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
g=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
h=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
i=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
j=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
k=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
l=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
m=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
n=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
o=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
p=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
q=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
r=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
s=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
t=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
u=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
v=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
w=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
x=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2
y=3,c # help for c, check any of 6 #> CHECK 0,1,2,a,b,c
z=2 # help for b, pick 1, 2 or 3 #> RADIO 0,1,2

0 comments on commit 4f6e9f8

Please sign in to comment.