Skip to content

Commit

Permalink
Added one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
mesta1 committed Sep 14, 2017
1 parent cddb826 commit ad98783
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S7.Net.UnitTest/S7NetTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ public void T11_WriteAndReadBooleanVariable()
boolVariable = (bool)plc.Read("DB1.DBX658.0");
Assert.IsTrue(boolVariable);

plc.Write("DB1.DBX658.7", 1);
boolVariable = (bool)plc.Read("DB1.DBX658.7");
Assert.IsTrue(boolVariable);

plc.Write("DB2.DBX9658.0", 1);
boolVariable = (bool)plc.Read("DB2.DBX9658.0");
Assert.IsTrue(boolVariable);
Expand Down

0 comments on commit ad98783

Please sign in to comment.