Added more readonly kewords

This commit is contained in:
Lukasz Baldyga committed 2020-11-15 05:47:13 +00:00
1 parent 3a9d92477b
commit 33c20bdaf6
13 files changed
+21 -21

No files matched your search

@@ -12,7 +12,7 @@ namespace Advanced_Software_Engineering_Tests {
/// </summary>
[TestClass]
public class CommandTester {
private Random rand = new Random();
private readonly Random rand = new Random();
/// <summary>
/// Automatically tests:
@@ -11,8 +11,8 @@ namespace Advanced_Software_Engineering_Tests {
/// </summary>
[TestClass]
public class SettingsAndHelperFunctionsTester {
private string alphabet = "abcdefghijklmnopqrstuvwxzy";
private Random rand = new Random();
private readonly string alphabet = "abcdefghijklmnopqrstuvwxzy";
private readonly Random rand = new Random();
/// <summary>
/// Random strip spaces test