diff options
author | Rahul Paknikar | 2021-01-08 12:47:23 +0530 |
---|---|---|
committer | GitHub | 2021-01-08 12:47:23 +0530 |
commit | e6f48f5b1bf22a1d048b44ed4416b4315a461306 (patch) | |
tree | fd357549a236cdc652f0b6d2919beee0cee7faa5 /Windows/spice/examples/control_structs/if-test-1.cir | |
parent | ac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff) | |
parent | 6b512cbf954273b0f21d3800d10a7ad42a759425 (diff) | |
download | eSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.tar.gz eSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.tar.bz2 eSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.zip |
Merge pull request #161 from rahulp13/installersi2.1
fixed key issue for ubuntu 20+; updated installers for windows os
Diffstat (limited to 'Windows/spice/examples/control_structs/if-test-1.cir')
-rw-r--r-- | Windows/spice/examples/control_structs/if-test-1.cir | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/Windows/spice/examples/control_structs/if-test-1.cir b/Windows/spice/examples/control_structs/if-test-1.cir deleted file mode 100644 index 41927bdf..00000000 --- a/Windows/spice/examples/control_structs/if-test-1.cir +++ /dev/null @@ -1,78 +0,0 @@ -test if conditions - -* test behaviour in special circumstances - -v1 1 0 dc 42 -R1 1 0 1k - - -.control - -echo "expect Error: missing if condition" -* does not enter cp_istrue() -if - echo "FAIL: you should not see this" -else - echo "nonetheless evaluated as FALSE" -end -echo - -set testvar_b="" -echo "expect |false|" -* in cp_istrue(): wl!=NULL names==NULL v==NULL -if $testvar_b - echo "FAIL: you should not see this" -else - echo "|false|" -end -echo - -set testvar_c -echo "expect testvar_c=|TRUE|" -* in cp_istrue(): wl!=NULL names!=NULL v!=NULL -if $testvar_c - echo "testvar_c=|$testvar_c|" -end -echo - -echo "expect Error: testvar_d: no such variable." -* in cp_istrue(): wl!=NULL then wl==NULL names==NULL v==NULL -if $testvar_d - echo "FAIL: you should not see this" -else - echo "nonetheless evaluated as FALSE" -end -echo - -echo "expect Error(parse.c--checkvalid): testvar_e: no such vector." -* in cp_istrue(): wl!=NULL names==NULL v==NULL -if testvar_e = 3.3 - echo "FAIL: you should not see this" -else - echo "nonetheless evaluated as FALSE" -end -echo - -let testvar_f = 3.5 - -echo "expect |false|" -if testvar_f = 3.3 - echo "FAIL: you should not see this" -else - echo "|false|" -end -echo - -echo "expect |true|" -if testvar_f = 3.5 - echo "|true|" -else - echo "FAIL: you should not see this" -end -echo - -op -print v(1) - -.endc -.end |