3232import org .tensorflow .op .math .LogicalNot ;
3333import org .tensorflow .op .math .LogicalOr ;
3434
35- class TBoolTest {
35+ public class TBoolTest {
3636
3737 @ Test
38- void createScalar () {
38+ public void createScalar () {
3939 TBool tensorT = TBool .scalarOf (true );
4040 assertNotNull (tensorT );
4141 assertEquals (Shape .scalar (), tensorT .shape ());
@@ -48,7 +48,7 @@ void createScalar() {
4848 }
4949
5050 @ Test
51- void createVector () {
51+ public void createVector () {
5252 TBool tensor = TBool .vectorOf (true , false );
5353 assertNotNull (tensor );
5454 assertEquals (Shape .of (2 ), tensor .shape ());
@@ -57,7 +57,7 @@ void createVector() {
5757 }
5858
5959 @ Test
60- void createCopy () {
60+ public void createCopy () {
6161 NdArray <Boolean > bools =
6262 NdArrays .ofObjects (Boolean .class , Shape .of (2 , 2 ))
6363 .setObject (true , 0 , 0 )
@@ -73,7 +73,7 @@ void createCopy() {
7373 }
7474
7575 @ Test
76- void initializeTensorsWithBools () {
76+ public void initializeTensorsWithBools () {
7777 // Allocate a tensor of booleans of the shape (2, 3, 2)
7878 TBool tensor = TBool .tensorOf (Shape .of (2 , 3 , 2 ));
7979
@@ -111,7 +111,7 @@ void initializeTensorsWithBools() {
111111 }
112112
113113 @ Test
114- void setAndCompute () {
114+ public void setAndCompute () {
115115 NdArray <Boolean > heapData =
116116 NdArrays .ofBooleans (Shape .of (4 ))
117117 .setObject (true , 0 )
0 commit comments