|
67 | 67 | }); |
68 | 68 |
|
69 | 69 |
|
70 | | - //QUnit.test('Tubular Self Inductance (R_inner > 0)', function(assert) { |
71 | | - // var bb = new BirdcageBuilder(16, 128e6, 10, 12); |
72 | 70 |
|
73 | | - // // TODO need better tests with the k/ratio factor |
74 | | - // // TODO can't easily force k to a nice number... |
75 | | - // //assert.equal(bb.calc_leg_self_inductance_tube(1 0, 4), -1.5); |
76 | | - // assert.deepEqual(bb.legs.calc_leg_self_inductance_tube(1, 2, 0), NaN); |
77 | | - // assert.deepEqual(bb.legs.calc_leg_self_inductance_tube(0, 2, 0), NaN); |
78 | 71 |
|
79 | | - // var c = 2*(0.1493 - 0.3606 - 0.0405 + 0.2526 - 1); // hack |
80 | | - // assert.equal(bb.legs.calc_leg_self_inductance_tube(1, 4, 4), c); |
81 | | - //}); |
| 72 | + // TODO continue tests |
| 73 | + // TODO test final mutual inductance result |
82 | 74 |
|
| 75 | + // TODO could test against Android/Java intermediate results (Leg/Endring Self & Mutual Inductance) with setup from qunit_test_all_math.html |
83 | 76 |
|
84 | | - //QUnit.test('Leg Mutual Inductance', function(assert) { |
85 | | - // var bb = new BirdcageBuilder(1, 128e6, 1, 2); |
86 | | - // bb.legs.set_legs_rect(1, 1); // TODO |
87 | 77 |
|
88 | | - // // TODO is this really a bug, or is a loose tolerance assertion ok for this? |
89 | | - // // why isn't it exact? |
90 | | - // assert.close(bb.legs.helper_Lmn(1., 1.), 2*Math.log(2), 1e-15); |
91 | | - // //assert.equal(bb.helper_Lmn(1., 1.), 2*Math.log(2)); // TODO - why isn't this exact? just flotaing point error??? |
92 | | - // //assert.equal(bb. |
93 | | - |
94 | | - // // TODO continue tests |
95 | | - // // TODO test final mutual inductance result |
96 | | - //}); |
97 | | - |
98 | | - //QUnit.test('Shield Mutual Inductance', function(assert) { |
99 | | - // var bb = new BirdcageBuilder(1, 128e6, 1, 2); |
100 | | - |
101 | | - // // TODO is this really a bug, or is a loose tolerance assertion ok for this? |
102 | | - // // why isn't it exact? |
103 | | - // assert.close(bb.legs.helper_Lmn(1., 1.), 2*Math.log(2), 1e-15); |
104 | | - |
105 | | - // // TODO continue tests |
106 | | - // // TODO test final mutual inductance result |
107 | | - //}); |
108 | 78 |
|
109 | 79 |
|
110 | 80 | }); // end Birdcage End Rings tests |
|
0 commit comments