public void TestConvertToDict_InitialValues() { BlockData testData = new BlockData(0, 0, 0, 0, 0, 0); Dictionary <string, double> convertedDict = testData.ConvertToDict(); AssertDictDataValid(testData, convertedDict); }
public void TestConvertToDict_UpdateSingleValue() { BlockData testData = new BlockData(0, 0, 0, 0, 0, 0); testData.centerX = 25; Dictionary <string, double> convertedDict = testData.ConvertToDict(); AssertDictDataValid(testData, convertedDict); }
public void TestConvertToDict_UpdateManyValues() { BlockData testData = new BlockData(0, 0, 0, 0, 0, 0); testData.cameraSpaceCenterX = 123; testData.cameraSpaceCenterY = 531; testData.cameraSpaceDepth = 3345; testData.rHueVal = 256; testData.bHueVal = 77; Dictionary <string, double> convertedDict = testData.ConvertToDict(); AssertDictDataValid(testData, convertedDict); }