Skip to content

Commit

Permalink
Fixed failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelalonsojr committed Aug 25, 2024
1 parent 7f7ce0e commit 0f801c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public void GenerateActionMaskInput()

generator.Generate(inputTensor, batchSize, inputs);
Assert.IsNotNull(inputTensor.data);
Assert.AreEqual((int)((Tensor<int>)inputTensor.data)[0, 0], 1);
Assert.AreEqual((int)((Tensor<int>)inputTensor.data)[0, 4], 1);
Assert.AreEqual((int)((Tensor<int>)inputTensor.data)[1, 0], 0);
Assert.AreEqual((int)((Tensor<int>)inputTensor.data)[1, 4], 1);
Assert.AreEqual((int)((Tensor<float>)inputTensor.data)[0, 0], 1);
Assert.AreEqual((int)((Tensor<float>)inputTensor.data)[0, 4], 1);
Assert.AreEqual((int)((Tensor<float>)inputTensor.data)[1, 0], 0);
Assert.AreEqual((int)((Tensor<float>)inputTensor.data)[1, 4], 1);
}
}
}
Binary file not shown.

0 comments on commit 0f801c7

Please sign in to comment.