Exemplo n.º 1
0
        public void Curve_MatchesExpectedSampleValues_WhenTypeIsSingle_AndContinuityIsLinear()
        {
            var curve = CurveTestUtils.ReadCurveFromCsv(GetResourcePath("SingleCurve_Linear_keys.csv"), SingleCurveLinearSampler.Instance);

            AssertCurveMatchesSavedSamples(curve, "SingleCurve_Linear_samples.csv");
        }
Exemplo n.º 2
0
        public void Curve_MatchesExpectedSampleValues_WhenTypeIsVector3_AndContinuityIsCubicSpline()
        {
            var curve = CurveTestUtils.ReadCurveFromCsv(GetResourcePath("Vector3Curve_CubicSpline_keys.csv"), Vector3CurveCubicSplineSampler.Instance);

            AssertCurveMatchesSavedSamples(curve, "Vector3Curve_CubicSpline_samples.csv");
        }
Exemplo n.º 3
0
        public void Curve_MatchesExpectedSampleValues_WhenTypeIsQuaternion_AndContinuityIsStep()
        {
            var curve = CurveTestUtils.ReadCurveFromCsv(GetResourcePath("QuaternionCurve_Step_keys.csv"), QuaternionCurveStepSampler.Instance);

            AssertCurveMatchesSavedSamples(curve, "QuaternionCurve_Step_samples.csv");
        }