trackler 2.0.8.43 → 2.0.8.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/ceylon/exercises/anagram/source/anagram/AnagramTest.ceylon +3 -2
- data/tracks/ceylon/exercises/bracket-push/source/bracketpush/BracketsTest.ceylon +3 -0
- data/tracks/ceylon/exercises/hamming/source/hamming/HammingTest.ceylon +16 -0
- data/tracks/ceylon/exercises/largest-series-product/source/largestseriesproduct/SeriesTest.ceylon +16 -0
- data/tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon +1 -0
- data/tracks/ceylon/exercises/react/source/react/ReactorTest.ceylon +2 -0
- data/tracks/ceylon/exercises/sieve/source/sieve/SieveTest.ceylon +1 -0
- data/tracks/crystal/exercises/sieve/src/example.cr +3 -2
- data/tracks/csharp/.github/stale.yml +0 -0
- data/tracks/csharp/exercises/house/HINTS.md +3 -0
- data/tracks/csharp/exercises/saddle-points/HINTS.md +4 -0
- data/tracks/fsharp/.github/stale.yml +0 -0
- data/tracks/go/.github/stale.yml +22 -0
- data/tracks/go/README.md +26 -15
- data/tracks/go/exercises/bob/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/bowling/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/change/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/clock/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/connect/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/custom-set/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/forth/.meta/gen.go +71 -0
- data/tracks/go/exercises/forth/cases_test.go +259 -236
- data/tracks/go/exercises/forth/forth_test.go +19 -34
- data/tracks/go/exercises/gigasecond/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/hamming/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/largest-series-product/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/leap/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/luhn/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/meetup/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/raindrops/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/rna-transcription/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/roman-numerals/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/transpose/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/exercises/word-count/{example_gen.go → .meta/gen.go} +1 -1
- data/tracks/go/gen/gen.go +9 -9
- data/tracks/purescript/config.json +7 -0
- data/tracks/purescript/exercises/binary-search/bower.json +16 -0
- data/tracks/purescript/exercises/binary-search/examples/src/BinarySearch.purs +19 -0
- data/tracks/purescript/exercises/binary-search/src/BinarySearch.purs +3 -0
- data/tracks/purescript/exercises/binary-search/test/Main.purs +53 -0
- data/tracks/python/config.json +6 -0
- data/tracks/python/exercises/rectangles/rectangles_test.py +68 -41
- data/tracks/python/exercises/transpose/example.py +6 -0
- data/tracks/python/exercises/transpose/transpose.py +2 -0
- data/tracks/python/exercises/transpose/transpose_test.py +264 -0
- metadata +32 -20
- data/tracks/go/exercises/forth/example_gen.go +0 -99
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trackler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.8.
|
4
|
+
version: 2.0.8.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -1396,6 +1396,7 @@ files:
|
|
1396
1396
|
- tracks/crystal/src/generator/spec/exercise_test_case_spec.cr
|
1397
1397
|
- tracks/csharp/.git
|
1398
1398
|
- tracks/csharp/.gitattributes
|
1399
|
+
- tracks/csharp/.github/stale.yml
|
1399
1400
|
- tracks/csharp/.gitignore
|
1400
1401
|
- tracks/csharp/.travis.yml
|
1401
1402
|
- tracks/csharp/LICENSE
|
@@ -1587,6 +1588,7 @@ files:
|
|
1587
1588
|
- tracks/csharp/exercises/hello-world/HelloWorld.csproj
|
1588
1589
|
- tracks/csharp/exercises/hello-world/HelloWorldTest.cs
|
1589
1590
|
- tracks/csharp/exercises/house/Example.cs
|
1591
|
+
- tracks/csharp/exercises/house/HINTS.md
|
1590
1592
|
- tracks/csharp/exercises/house/House.cs
|
1591
1593
|
- tracks/csharp/exercises/house/House.csproj
|
1592
1594
|
- tracks/csharp/exercises/house/HouseTest.cs
|
@@ -1751,6 +1753,7 @@ files:
|
|
1751
1753
|
- tracks/csharp/exercises/run-length-encoding/RunLengthEncoding.csproj
|
1752
1754
|
- tracks/csharp/exercises/run-length-encoding/RunLengthEncodingTest.cs
|
1753
1755
|
- tracks/csharp/exercises/saddle-points/Example.cs
|
1756
|
+
- tracks/csharp/exercises/saddle-points/HINTS.md
|
1754
1757
|
- tracks/csharp/exercises/saddle-points/SaddlePointTest.cs
|
1755
1758
|
- tracks/csharp/exercises/saddle-points/SaddlePoints.cs
|
1756
1759
|
- tracks/csharp/exercises/saddle-points/SaddlePoints.csproj
|
@@ -3071,6 +3074,7 @@ files:
|
|
3071
3074
|
- tracks/factor/exercises/leap/leap-tests.factor
|
3072
3075
|
- tracks/factor/img/icon.png
|
3073
3076
|
- tracks/fsharp/.git
|
3077
|
+
- tracks/fsharp/.github/stale.yml
|
3074
3078
|
- tracks/fsharp/.gitignore
|
3075
3079
|
- tracks/fsharp/.paket/paket.bootstrapper.exe
|
3076
3080
|
- tracks/fsharp/.travis.yml
|
@@ -3338,6 +3342,7 @@ files:
|
|
3338
3342
|
- tracks/fsharp/paket.dependencies
|
3339
3343
|
- tracks/fsharp/paket.lock
|
3340
3344
|
- tracks/go/.git
|
3345
|
+
- tracks/go/.github/stale.yml
|
3341
3346
|
- tracks/go/.gitignore
|
3342
3347
|
- tracks/go/.travis.yml
|
3343
3348
|
- tracks/go/LICENSE
|
@@ -3375,33 +3380,33 @@ files:
|
|
3375
3380
|
- tracks/go/exercises/binary-search/example.go
|
3376
3381
|
- tracks/go/exercises/binary/binary_test.go
|
3377
3382
|
- tracks/go/exercises/binary/example.go
|
3383
|
+
- tracks/go/exercises/bob/.meta/gen.go
|
3378
3384
|
- tracks/go/exercises/bob/bob.go
|
3379
3385
|
- tracks/go/exercises/bob/bob_test.go
|
3380
3386
|
- tracks/go/exercises/bob/cases_test.go
|
3381
3387
|
- tracks/go/exercises/bob/example.go
|
3382
|
-
- tracks/go/exercises/
|
3388
|
+
- tracks/go/exercises/bowling/.meta/gen.go
|
3383
3389
|
- tracks/go/exercises/bowling/bowling_test.go
|
3384
3390
|
- tracks/go/exercises/bowling/cases_test.go
|
3385
3391
|
- tracks/go/exercises/bowling/example.go
|
3386
|
-
- tracks/go/exercises/bowling/example_gen.go
|
3387
3392
|
- tracks/go/exercises/bracket-push/bracket_push_test.go
|
3388
3393
|
- tracks/go/exercises/bracket-push/example.go
|
3394
|
+
- tracks/go/exercises/change/.meta/gen.go
|
3389
3395
|
- tracks/go/exercises/change/cases_test.go
|
3390
3396
|
- tracks/go/exercises/change/change_test.go
|
3391
3397
|
- tracks/go/exercises/change/example.go
|
3392
|
-
- tracks/go/exercises/change/example_gen.go
|
3393
3398
|
- tracks/go/exercises/circular-buffer/circular_buffer_test.go
|
3394
3399
|
- tracks/go/exercises/circular-buffer/example.go
|
3400
|
+
- tracks/go/exercises/clock/.meta/gen.go
|
3395
3401
|
- tracks/go/exercises/clock/cases_test.go
|
3396
3402
|
- tracks/go/exercises/clock/clock.go
|
3397
3403
|
- tracks/go/exercises/clock/clock_test.go
|
3398
3404
|
- tracks/go/exercises/clock/example.go
|
3399
3405
|
- tracks/go/exercises/clock/example_clock_test.go
|
3400
|
-
- tracks/go/exercises/
|
3406
|
+
- tracks/go/exercises/connect/.meta/gen.go
|
3401
3407
|
- tracks/go/exercises/connect/cases_test.go
|
3402
3408
|
- tracks/go/exercises/connect/connect_test.go
|
3403
3409
|
- tracks/go/exercises/connect/example.go
|
3404
|
-
- tracks/go/exercises/connect/example_gen.go
|
3405
3410
|
- tracks/go/exercises/counter/counter_test.go
|
3406
3411
|
- tracks/go/exercises/counter/example.go
|
3407
3412
|
- tracks/go/exercises/counter/impl1.go
|
@@ -3412,10 +3417,10 @@ files:
|
|
3412
3417
|
- tracks/go/exercises/counter/maker.go
|
3413
3418
|
- tracks/go/exercises/crypto-square/crypto_square_test.go
|
3414
3419
|
- tracks/go/exercises/crypto-square/example.go
|
3420
|
+
- tracks/go/exercises/custom-set/.meta/gen.go
|
3415
3421
|
- tracks/go/exercises/custom-set/cases_test.go
|
3416
3422
|
- tracks/go/exercises/custom-set/custom_set_test.go
|
3417
3423
|
- tracks/go/exercises/custom-set/example.go
|
3418
|
-
- tracks/go/exercises/custom-set/example_gen.go
|
3419
3424
|
- tracks/go/exercises/custom-set/example_slice.go
|
3420
3425
|
- tracks/go/exercises/diamond/diamond_test.go
|
3421
3426
|
- tracks/go/exercises/diamond/example.go
|
@@ -3430,22 +3435,22 @@ files:
|
|
3430
3435
|
- tracks/go/exercises/etl/example.go
|
3431
3436
|
- tracks/go/exercises/food-chain/example.go
|
3432
3437
|
- tracks/go/exercises/food-chain/food_chain_test.go
|
3438
|
+
- tracks/go/exercises/forth/.meta/gen.go
|
3433
3439
|
- tracks/go/exercises/forth/cases_test.go
|
3434
3440
|
- tracks/go/exercises/forth/example.go
|
3435
|
-
- tracks/go/exercises/forth/example_gen.go
|
3436
3441
|
- tracks/go/exercises/forth/forth_test.go
|
3442
|
+
- tracks/go/exercises/gigasecond/.meta/gen.go
|
3437
3443
|
- tracks/go/exercises/gigasecond/cases_test.go
|
3438
3444
|
- tracks/go/exercises/gigasecond/example.go
|
3439
|
-
- tracks/go/exercises/gigasecond/example_gen.go
|
3440
3445
|
- tracks/go/exercises/gigasecond/gigasecond.go
|
3441
3446
|
- tracks/go/exercises/gigasecond/gigasecond_test.go
|
3442
3447
|
- tracks/go/exercises/grade-school/example.go
|
3443
3448
|
- tracks/go/exercises/grade-school/grade_school_test.go
|
3444
3449
|
- tracks/go/exercises/grains/example.go
|
3445
3450
|
- tracks/go/exercises/grains/grains_test.go
|
3451
|
+
- tracks/go/exercises/hamming/.meta/gen.go
|
3446
3452
|
- tracks/go/exercises/hamming/cases_test.go
|
3447
3453
|
- tracks/go/exercises/hamming/example.go
|
3448
|
-
- tracks/go/exercises/hamming/example_gen.go
|
3449
3454
|
- tracks/go/exercises/hamming/hamming.go
|
3450
3455
|
- tracks/go/exercises/hamming/hamming_test.go
|
3451
3456
|
- tracks/go/exercises/hello-world/example.go
|
@@ -3460,27 +3465,27 @@ files:
|
|
3460
3465
|
- tracks/go/exercises/isogram/isogram_test.go
|
3461
3466
|
- tracks/go/exercises/kindergarten-garden/example.go
|
3462
3467
|
- tracks/go/exercises/kindergarten-garden/kindergarten_garden_test.go
|
3468
|
+
- tracks/go/exercises/largest-series-product/.meta/gen.go
|
3463
3469
|
- tracks/go/exercises/largest-series-product/cases_test.go
|
3464
3470
|
- tracks/go/exercises/largest-series-product/example.go
|
3465
|
-
- tracks/go/exercises/largest-series-product/example_gen.go
|
3466
3471
|
- tracks/go/exercises/largest-series-product/largest_series_product_test.go
|
3472
|
+
- tracks/go/exercises/leap/.meta/gen.go
|
3467
3473
|
- tracks/go/exercises/leap/cases_test.go
|
3468
3474
|
- tracks/go/exercises/leap/example.go
|
3469
|
-
- tracks/go/exercises/leap/example_gen.go
|
3470
3475
|
- tracks/go/exercises/leap/leap.go
|
3471
3476
|
- tracks/go/exercises/leap/leap_test.go
|
3472
3477
|
- tracks/go/exercises/ledger/example.go
|
3473
3478
|
- tracks/go/exercises/ledger/ledger.go
|
3474
3479
|
- tracks/go/exercises/ledger/ledger_test.go
|
3480
|
+
- tracks/go/exercises/luhn/.meta/gen.go
|
3475
3481
|
- tracks/go/exercises/luhn/cases_test.go
|
3476
3482
|
- tracks/go/exercises/luhn/example.go
|
3477
|
-
- tracks/go/exercises/luhn/example_gen.go
|
3478
3483
|
- tracks/go/exercises/luhn/luhn_test.go
|
3479
3484
|
- tracks/go/exercises/matrix/example.go
|
3480
3485
|
- tracks/go/exercises/matrix/matrix_test.go
|
3486
|
+
- tracks/go/exercises/meetup/.meta/gen.go
|
3481
3487
|
- tracks/go/exercises/meetup/cases_test.go
|
3482
3488
|
- tracks/go/exercises/meetup/example.go
|
3483
|
-
- tracks/go/exercises/meetup/example_gen.go
|
3484
3489
|
- tracks/go/exercises/meetup/meetup_test.go
|
3485
3490
|
- tracks/go/exercises/minesweeper/board.go
|
3486
3491
|
- tracks/go/exercises/minesweeper/example.go
|
@@ -3524,17 +3529,17 @@ files:
|
|
3524
3529
|
- tracks/go/exercises/pythagorean-triplet/pythagorean_triplet_test.go
|
3525
3530
|
- tracks/go/exercises/queen-attack/example.go
|
3526
3531
|
- tracks/go/exercises/queen-attack/queen_attack_test.go
|
3532
|
+
- tracks/go/exercises/raindrops/.meta/gen.go
|
3527
3533
|
- tracks/go/exercises/raindrops/cases_test.go
|
3528
3534
|
- tracks/go/exercises/raindrops/example.go
|
3529
|
-
- tracks/go/exercises/raindrops/example_gen.go
|
3530
3535
|
- tracks/go/exercises/raindrops/raindrops.go
|
3531
3536
|
- tracks/go/exercises/raindrops/raindrops_test.go
|
3532
3537
|
- tracks/go/exercises/react/example.go
|
3533
3538
|
- tracks/go/exercises/react/interfaces.go
|
3534
3539
|
- tracks/go/exercises/react/react_test.go
|
3540
|
+
- tracks/go/exercises/rna-transcription/.meta/gen.go
|
3535
3541
|
- tracks/go/exercises/rna-transcription/cases_test.go
|
3536
3542
|
- tracks/go/exercises/rna-transcription/example.go
|
3537
|
-
- tracks/go/exercises/rna-transcription/example_gen.go
|
3538
3543
|
- tracks/go/exercises/rna-transcription/rna_transcription_test.go
|
3539
3544
|
- tracks/go/exercises/robot-name/bonus_example.go
|
3540
3545
|
- tracks/go/exercises/robot-name/bonus_test.go
|
@@ -3545,9 +3550,9 @@ files:
|
|
3545
3550
|
- tracks/go/exercises/robot-simulator/robot_simulator_step2_test.go
|
3546
3551
|
- tracks/go/exercises/robot-simulator/robot_simulator_step3_test.go
|
3547
3552
|
- tracks/go/exercises/robot-simulator/robot_simulator_test.go
|
3553
|
+
- tracks/go/exercises/roman-numerals/.meta/gen.go
|
3548
3554
|
- tracks/go/exercises/roman-numerals/cases_test.go
|
3549
3555
|
- tracks/go/exercises/roman-numerals/example.go
|
3550
|
-
- tracks/go/exercises/roman-numerals/example_gen.go
|
3551
3556
|
- tracks/go/exercises/roman-numerals/roman_numerals_test.go
|
3552
3557
|
- tracks/go/exercises/saddle-points/example.go
|
3553
3558
|
- tracks/go/exercises/saddle-points/matrix_example.go
|
@@ -3574,9 +3579,9 @@ files:
|
|
3574
3579
|
- tracks/go/exercises/sum-of-multiples/sum_of_multiples_test.go
|
3575
3580
|
- tracks/go/exercises/tournament/example.go
|
3576
3581
|
- tracks/go/exercises/tournament/tournament_test.go
|
3582
|
+
- tracks/go/exercises/transpose/.meta/gen.go
|
3577
3583
|
- tracks/go/exercises/transpose/cases_test.go
|
3578
3584
|
- tracks/go/exercises/transpose/example.go
|
3579
|
-
- tracks/go/exercises/transpose/example_gen.go
|
3580
3585
|
- tracks/go/exercises/transpose/transpose_test.go
|
3581
3586
|
- tracks/go/exercises/tree-building/example.go
|
3582
3587
|
- tracks/go/exercises/tree-building/tree_building.go
|
@@ -3591,9 +3596,9 @@ files:
|
|
3591
3596
|
- tracks/go/exercises/twelve-days/twelve_days_test.go
|
3592
3597
|
- tracks/go/exercises/variable-length-quantity/example.go
|
3593
3598
|
- tracks/go/exercises/variable-length-quantity/variable_length_quantity_test.go
|
3599
|
+
- tracks/go/exercises/word-count/.meta/gen.go
|
3594
3600
|
- tracks/go/exercises/word-count/cases_test.go
|
3595
3601
|
- tracks/go/exercises/word-count/example.go
|
3596
|
-
- tracks/go/exercises/word-count/example_gen.go
|
3597
3602
|
- tracks/go/exercises/word-count/word_count.go
|
3598
3603
|
- tracks/go/exercises/word-count/word_count_test.go
|
3599
3604
|
- tracks/go/exercises/word-search/example.go
|
@@ -6588,6 +6593,10 @@ files:
|
|
6588
6593
|
- tracks/purescript/exercises/atbash-cipher/examples/src/AtbashCipher.purs
|
6589
6594
|
- tracks/purescript/exercises/atbash-cipher/src/AtbashCipher.purs
|
6590
6595
|
- tracks/purescript/exercises/atbash-cipher/test/Main.purs
|
6596
|
+
- tracks/purescript/exercises/binary-search/bower.json
|
6597
|
+
- tracks/purescript/exercises/binary-search/examples/src/BinarySearch.purs
|
6598
|
+
- tracks/purescript/exercises/binary-search/src/BinarySearch.purs
|
6599
|
+
- tracks/purescript/exercises/binary-search/test/Main.purs
|
6591
6600
|
- tracks/purescript/exercises/bob/bower.json
|
6592
6601
|
- tracks/purescript/exercises/bob/examples/src/Bob.purs
|
6593
6602
|
- tracks/purescript/exercises/bob/src/Bob.purs
|
@@ -6862,6 +6871,9 @@ files:
|
|
6862
6871
|
- tracks/python/exercises/sum-of-multiples/example.py
|
6863
6872
|
- tracks/python/exercises/sum-of-multiples/sum_of_multiples.py
|
6864
6873
|
- tracks/python/exercises/sum-of-multiples/sum_of_multiples_test.py
|
6874
|
+
- tracks/python/exercises/transpose/example.py
|
6875
|
+
- tracks/python/exercises/transpose/transpose.py
|
6876
|
+
- tracks/python/exercises/transpose/transpose_test.py
|
6865
6877
|
- tracks/python/exercises/triangle/example.py
|
6866
6878
|
- tracks/python/exercises/triangle/triangle.py
|
6867
6879
|
- tracks/python/exercises/triangle/triangle_test.py
|
@@ -1,99 +0,0 @@
|
|
1
|
-
// +build ignore
|
2
|
-
|
3
|
-
package main
|
4
|
-
|
5
|
-
import (
|
6
|
-
"log"
|
7
|
-
"text/template"
|
8
|
-
|
9
|
-
"../../gen"
|
10
|
-
)
|
11
|
-
|
12
|
-
func main() {
|
13
|
-
t, err := template.New("").Parse(tmpl)
|
14
|
-
if err != nil {
|
15
|
-
log.Fatal(err)
|
16
|
-
}
|
17
|
-
var j js
|
18
|
-
if err := gen.Gen("forth", &j, t); err != nil {
|
19
|
-
log.Fatal(err)
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
// The JSON structure we expect to be able to unmarshal into
|
24
|
-
type js struct {
|
25
|
-
ParsingAndNumbers section `json:"parsing and numbers"`
|
26
|
-
Addition section
|
27
|
-
Subtraction section
|
28
|
-
Multiplication section
|
29
|
-
Division section
|
30
|
-
CombinedArithmetic section `json:"combined arithmetic"`
|
31
|
-
Dup section
|
32
|
-
Drop section
|
33
|
-
Swap section
|
34
|
-
Over section
|
35
|
-
UserDefinedWords section `json:"user-defined words"`
|
36
|
-
}
|
37
|
-
|
38
|
-
// A grouped section of test cases.
|
39
|
-
type section struct {
|
40
|
-
Cases []struct {
|
41
|
-
Description string
|
42
|
-
Input []string
|
43
|
-
Expected []int
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
// template applied to above data structure generates the Go test cases
|
48
|
-
var tmpl = `package forth
|
49
|
-
|
50
|
-
// Source: {{.Ori}}
|
51
|
-
{{if .Commit}}// Commit: {{.Commit}}
|
52
|
-
{{end}}
|
53
|
-
|
54
|
-
{{/* template for repeated caseSection */}}
|
55
|
-
|
56
|
-
{{define "caseSection"}} = []testCase{
|
57
|
-
{{range $y, $c := .}}{
|
58
|
-
{{printf "%q" $c.Description}},
|
59
|
-
{{printf "%#v" $c.Input}},
|
60
|
-
{{printf "%#v" $c.Expected}},
|
61
|
-
},
|
62
|
-
{{end}}}{{end}}
|
63
|
-
|
64
|
-
var parsingGroup{{template "caseSection" .J.ParsingAndNumbers.Cases}}
|
65
|
-
|
66
|
-
var additionGroup{{template "caseSection" .J.Addition.Cases}}
|
67
|
-
|
68
|
-
var subtractionGroup{{template "caseSection" .J.Subtraction.Cases}}
|
69
|
-
|
70
|
-
var multiplicationGroup{{template "caseSection" .J.Multiplication.Cases}}
|
71
|
-
|
72
|
-
var divisionGroup{{template "caseSection" .J.Division.Cases}}
|
73
|
-
|
74
|
-
var arithmeticGroup{{template "caseSection" .J.CombinedArithmetic.Cases}}
|
75
|
-
|
76
|
-
var dupGroup{{template "caseSection" .J.Dup.Cases}}
|
77
|
-
|
78
|
-
var dropGroup{{template "caseSection" .J.Drop.Cases}}
|
79
|
-
|
80
|
-
var swapGroup{{template "caseSection" .J.Swap.Cases}}
|
81
|
-
|
82
|
-
var overGroup{{template "caseSection" .J.Over.Cases}}
|
83
|
-
|
84
|
-
var userdefinedGroup{{template "caseSection" .J.UserDefinedWords.Cases}}
|
85
|
-
|
86
|
-
var testSections = []testcaseSection{
|
87
|
-
{"parsing", parsingGroup},
|
88
|
-
{"addition(+)", additionGroup},
|
89
|
-
{"subtraction(-)", subtractionGroup},
|
90
|
-
{"multiplication(*)", multiplicationGroup},
|
91
|
-
{"division(/)", divisionGroup},
|
92
|
-
{"arithmetic", arithmeticGroup},
|
93
|
-
{"dup", dupGroup},
|
94
|
-
{"drop", dropGroup},
|
95
|
-
{"swap", swapGroup},
|
96
|
-
{"over", overGroup},
|
97
|
-
{"user-defined", userdefinedGroup},
|
98
|
-
}
|
99
|
-
`
|