Skip to content

Commit 81215df

Browse files
committed
Remove ScanTest
1 parent b098c66 commit 81215df

3 files changed

Lines changed: 4 additions & 61 deletions

File tree

‎test/TensorFlowNET.UnitTest/PythonBaseTests.cs‎

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎test/TensorFlowNET.UnitTest/functional_ops_test/ScanTestCase.cs‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
using Microsoft.VisualStudio.TestTools.UnitTesting;
33
using NumSharp;
44
using Tensorflow;
5+
using Tensorflow.UnitTest;
56
using static Tensorflow.Binding;
67

78
namespace TensorFlowNET.UnitTest.functional_ops_test
89
{
910
/// <summary>
1011
/// https://www.tensorflow.org/api_docs/python/tf/scan
1112
/// </summary>
12-
[Ignore]
1313
[TestClass]
14-
public class ScanTestCase
14+
public class ScanTestCase : GraphModeTestBase
1515
{
16-
[Ignore("TODO")]
17-
[TestMethod]
16+
[TestMethod, Ignore("need UpdateEdge API")]
1817
public void ScanForward()
1918
{
2019
var fn = new Func<Tensor, Tensor, Tensor>((a, x) => tf.add(a, x));
@@ -26,8 +25,7 @@ public void ScanForward()
2625
sess.run(scan, (input, np.array(1,2,3,4,5,6))).Should().Be(np.array(1,3,6,10,15,21));
2726
}
2827

29-
[Ignore("TODO")]
30-
[TestMethod]
28+
[TestMethod, Ignore("need UpdateEdge API")]
3129
public void ScanReverse()
3230
{
3331
var fn = new Func<Tensor, Tensor, Tensor>((a, x) => tf.add(a, x));

‎test/TensorFlowNET.UnitTest/ops_test/GraphTest.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ namespace TensorFlowNET.UnitTest.ops_test
1010
[TestClass]
1111
public class GraphTest : GraphModeTestBase
1212
{
13-
1413
[TestInitialize]
1514
public void SetUp()
1615
{

0 commit comments

Comments
 (0)