public void IsCreateble_IfLengthsareEqual() { int pointer = 1; int length = 5; int pointer_ = 2; int length_ = 5; var expected = false; VirtualRAM c = new VirtualRAM(); var result = c.IsCreateble(pointer, length, pointer_, length_); Assert.AreEqual(expected, result); }
public void IsCreatebleReturnTrue() { int pointer = 6; int length = 3; int pointer_ = 4; int length_ = 5; var expected = true; VirtualRAM c = new VirtualRAM(); var result = c.IsCreateble(pointer, length, pointer_, length_); Assert.AreEqual(expected, result); }