Skip to content

Commit 2d59e3b

Browse files
committed
Added hypot, five hellos, and triangle programs
1 parent 6951cdf commit 2d59e3b

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

vyxal/five_hellos.vy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kH5Y”

vyxal/hypot.vy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#?²∑√

vyxal/test.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ java -jar $vyxal --file "$PSScriptRoot\clockhands.vy" |
2323
Compare-Object (Get-Content "$PSScriptRoot\..\test\clockhands_expected") |
2424
Assert-MatchTests &&
2525
java -jar $vyxal --file "$PSScriptRoot\codepage.vy" &&
26+
java -jar $vyxal --file "$PSScriptRoot\five_hellos.vy" &&
2627
java -jar $vyxal --file "$PSScriptRoot\hello.vy" &&
28+
java -jar $vyxal --file "$PSScriptRoot\hypot.vy" 3 4 &&
2729
java -jar $vyxal --file "$PSScriptRoot\permutations.vy" I like carrots|
2830
Compare-Object (Get-Content "$PSScriptRoot\..\test\carrots_expected") |
2931
Assert-MatchTests &&
@@ -33,6 +35,7 @@ java -jar $vyxal --file "$PSScriptRoot\sum_of_even_squares.vy" 6 7 4 2 |
3335
java -jar $vyxal --file "$PSScriptRoot\triple.vy" |
3436
Compare-Object (Get-Content "$PSScriptRoot\..\test\triple_expected") |
3537
Assert-MatchTests &&
38+
java -jar $vyxal --file "$PSScriptRoot\triangle.vy" &&
3639
ForEach-Object 'foo';
3740

3841
if ($Error -or !$?) {

vyxal/triangle.vy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
①ɾ★×”

0 commit comments

Comments
 (0)