public void IsBroadcasted_WithBroadCastedNdArray_ReturnTrue() { // arrange var input = NdArray <int> .Zeros(HostDevice.Instance, new[] { 2, 1, 4 }); var broadCasted = NdArray <int> .BroadCastDim(1, 2, input); // action var output = ShapeFunction <int> .IsBroadcasted(broadCasted); // assert Assert.IsTrue(output); }