Skip to content

Commit

Permalink
Remove unused constructor, ignore .suo, update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
analogion committed Aug 7, 2016
1 parent c772cbc commit 88f56e9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
TrafficLights/obj/**
*vshost*
*/*/*/TestResult.xml
.suo
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ To run the unit tests install NUnit 2.6.4 console runner:

https://github.com/nunit/nunitv2/releases/download/2.6.4/NUnit-2.6.4.msi

Solution and binaries provided are built with Visual Studio 2015.

# Running a live simulation

From a command prompt run
Expand Down
5 changes: 0 additions & 5 deletions TrafficLights/TrafficIntersectionModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ public enum LightStates {
NorthSouthYellowEastWestRed
}

public TrafficIntersectionModel() {
LightState = LightStates.NorthSouthGreenEastWestRed;
LastStateTransitionAt = DateTime.Now;
}

public TrafficIntersectionModel(LightStates lightState, DateTime lastTransitionAt) {
LightState = lightState;
LastStateTransitionAt = lastTransitionAt;
Expand Down
Binary file modified TrafficLights/bin/Debug/TrafficLights.exe
Binary file not shown.
Binary file modified TrafficLights/bin/Debug/TrafficLights.pdb
Binary file not shown.

0 comments on commit 88f56e9

Please sign in to comment.