public void GetNumberOfDrivesTest() { Storage_Accessor target = new Storage_Accessor(); Tuple <string, object, DataType> actual; actual = target.GetNumberOfDrives(); Assert.IsTrue(Convert.ToByte(actual.Item2) > 0); }
public void GetLoadPerDriveTest() { Storage_Accessor target = new Storage_Accessor(); Tuple <string, object, DataType> actual; actual = target.GetLoadPerDrive(); Assert.IsTrue(actual.ToString().Length > 0); }
public void GetCapacityTest() { Storage_Accessor target = new Storage_Accessor(); Tuple <string, object, DataType> actual; actual = target.GetCapacity(); Assert.IsTrue(Convert.ToInt32(actual.Item2) > 0); }
public void GetLoadTest() { Storage_Accessor target = new Storage_Accessor(); Tuple <string, object, DataType> actual; actual = target.GetLoad(); Assert.IsTrue(Convert.ToByte(actual.Item2) <= 100); Assert.IsTrue(Convert.ToByte(actual.Item2) >= 0); }
public void getHistoryCharRepresentationTest() { //initialize Storage_Accessor target = new Storage_Accessor(); OutcomeEnum outcome = OutcomeEnum.WinWithRock; char expected = 'R'; char actual; //setup actual = target.getHistoryCharRepresentation(outcome); //assert Assert.AreEqual(expected, actual); }