Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom committed Dec 13, 2023
1 parent a3705c8 commit b06f793
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Go/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ setup() {
[ "${lines[4]}" = "1,0 = 0.961 0.039 0.970 0.026 0.030 0.974" ]
[ "${lines[5]}" = "1,1 = 0.049 0.952 0.994 0.956 0.006 0.044" ]
[ "${lines[6]}" = "weightsHidden:" ]
[[ "${lines[7]}" =~ '-5.942533 -7.053490' ]]
[[ "${lines[8]}" =~ '-5.938492 -7.080670' ]]
[ "${lines[9]}" = "biasesHidden:" ]
[[ "${lines[10]}" =~ '8.660800 3.181028' ]]
[ "${lines[11]}" = "weightsOutput:" ]
[[ "${lines[12]}" =~ '7.028475 -7.038526 -1.730834 -7.403271 1.558926 7.390187' ]]
[[ "${lines[13]}" =~ '-7.310426 7.321119 -7.038799 -2.800220 7.071517 3.219192' ]]
[ "${lines[14]}" = "biasesOutput:" ]
[[ "${lines[15]}" =~ '-3.245795 3.250424 5.246738 3.363781 -5.097047 -3.361940' ]]
[[ "${lines[7]}" =~ '-5.942533 -7.053490 -5.938492 -7.080670' ]]
[ "${lines[8]}" = "biasesHidden:" ]
[[ "${lines[9]}" =~ '8.660800 3.181028' ]]
[ "${lines[10]}" = "weightsOutput:" ]
[[ "${lines[11]}" =~ '7.028475 -7.038526 -1.730834 -7.403271 1.558926 7.390187 -7.310426 7.321119 -7.038799 -2.800220 7.071517 3.219192' ]]
[ "${lines[12]}" = "biasesOutput:" ]
[[ "${lines[13]}" =~ '-3.245795 3.250424 5.246738 3.363781 -5.097047 -3.361940' ]]
}

0 comments on commit b06f793

Please sign in to comment.