コード例 #1
0
        public void measurements_should_calculate_your_overhead_height_by_acromion_height_plus_forearm_humerous()
        {
            var m = new Measurements { AnkleToGround = 3, Pelvis = 8, Torso = 20, Femur = 17, Tibia = 10, Forearm = 9, Humerus = 10 };

              Assert.AreEqual(77, m.OverheadHeight);
        }
コード例 #2
0
        public void measurements_should_calculate_your_overall_height_by_acromion_height_plus_your_head_and_neck()
        {
            var m = new Measurements { AnkleToGround = 3, Pelvis = 8, Torso = 20, Femur = 17, Tibia = 10, Forearm = 9, Humerus = 10, HeadNeck = 11 };

              Assert.AreEqual(69, m.OverallHeight);
        }
コード例 #3
0
ファイル: Components.cs プロジェクト: keroger2k/PowerOut
 public Components(Measurements measurements, int measuredBodyWeight, int measuredBodyHeight)
 {
     this.Measurements = measurements;
       this.MeasuredBodyWeight = measuredBodyWeight;
       this.MeasuredBodyHeight = measuredBodyHeight;
 }
コード例 #4
0
        public void measurements_should_calculate_your_acromion_height_by_adding_torso_femur_pelvis_tibia_ankle_to_ground()
        {
            var m = new Measurements { AnkleToGround = 3, Pelvis = 8, Torso = 20, Femur = 17, Tibia = 10 };

              Assert.AreEqual(58, m.AcromionHeight);
        }
コード例 #5
0
ファイル: ExerciseTests.cs プロジェクト: keroger2k/PowerOut
 public void Init()
 {
     _dummyMeasurements = new Measurements { WeightPlateDiameter = 17.7M, AnkleToGround = 3, Hand = 7, Foot = 10, Pelvis = 8, Torso = 20, Femur = 17, Tibia = 10, Forearm = 9, Humerus = 10, HeadNeck = 11 };
       _dummyComponents = new Components(measurements: _dummyMeasurements, measuredBodyWeight: 170, measuredBodyHeight: 70);
       _dummyPerson = new Person(_dummyComponents);
 }