Skip to content

Commit af46c36

Browse files
Remove wav integration tests (for now)
1 parent d38416d commit af46c36

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

src/SpiceSharpParser.IntegrationTests/Components/VoltageSourceTests.cs

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -298,46 +298,6 @@ public void When_PwlMinusTimePoint_Expect_Reference()
298298
Assert.True(exports.All(export => EqualsWithToWithoutAssert(export.Item2, (export.Item1 < 1.0 ? 1.0 + export.Item1 : 2.0))));
299299
}
300300

301-
[Fact]
302-
public void When_WaveFile_Expect_NoException()
303-
{
304-
using var client = new WebClient();
305-
var waveFileData = client.DownloadData("http://www.ecircuitcenter.com/Circuits/distortion_box/guitar2a.wav");
306-
File.WriteAllBytes("guitar2a.wav", waveFileData);
307-
308-
var netlist = ParseNetlist(
309-
"Wave file voltage source",
310-
"V1 1 0 WAVE wavefile=guitar2a.wav chan=0",
311-
"R1 1 0 10",
312-
".WAVE guitar2a_out.wav 16 44100 V(1)",
313-
".SAVE V(1)",
314-
".TRAN 1e-8 5",
315-
".END");
316-
317-
Assert.NotNull(netlist);
318-
RunTransientSimulation(netlist, "V(1)");
319-
}
320-
321-
[Fact]
322-
public void When_WaveFile_WithoutWave_Expect_NoException()
323-
{
324-
using var client = new WebClient();
325-
var waveFileData = client.DownloadData("http://www.ecircuitcenter.com/Circuits/distortion_box/guitar2a.wav");
326-
File.WriteAllBytes("guitar2a.wav", waveFileData);
327-
328-
var netlist = ParseNetlist(
329-
"Wave file voltage source",
330-
"V1 1 0 wavefile=guitar2a.wav chan=0",
331-
"R1 1 0 10",
332-
".WAVE guitar2a_out.wav 16 44100 V(1)",
333-
".SAVE V(1)",
334-
".TRAN 1e-8 5",
335-
".END");
336-
337-
Assert.NotNull(netlist);
338-
RunTransientSimulation(netlist, "V(1)");
339-
}
340-
341301
[Fact]
342302
public void When_ACWithoutValue_Expect_NoException()
343303
{

0 commit comments

Comments
 (0)