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 ab1643d commit a3705c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Go/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ setup() {
[ "${lines[3]}" = "0,1 = 0.961 0.039 0.970 0.026 0.029 0.974" ]
[ "${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]}" = "weights hidden:" ]
[ "${lines[6]}" = "weightsHidden:" ]
[[ "${lines[7]}" =~ '-5.942533 -7.053490' ]]
[[ "${lines[8]}" =~ '-5.938492 -7.080670' ]]
[ "${lines[9]}" = "biases hidden:" ]
[ "${lines[9]}" = "biasesHidden:" ]
[[ "${lines[10]}" =~ '8.660800 3.181028' ]]
[ "${lines[11]}" = "weights output:" ]
[ "${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]}" = "biases output:" ]
[ "${lines[14]}" = "biasesOutput:" ]
[[ "${lines[15]}" =~ '-3.245795 3.250424 5.246738 3.363781 -5.097047 -3.361940' ]]
}

0 comments on commit a3705c8

Please sign in to comment.