public void QueryResult_ResolveValueViaProvider() { const float kValue = 0.5f; var dataId = m_FloatProvider.AddData(kValue); var result = new QueryResult(); result.SetDataId(dataId); var returnedValue = result.ResolveValue(m_FloatUser); Assert.AreEqual(kValue, returnedValue); }
public void AddGenericDataReturnsId() { var dataId = m_Vector4Provider.AddData(k_ExampleVectorValue); Assert.AreEqual(dataId, MARSDatabase.nextDataID - 1); }