Skip to content

Commit e4a6ed6

Browse files
committed
delete redundant old/unused code
1 parent 0cfe0fa commit e4a6ed6

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

qunit_test_endrings.html

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -67,44 +67,14 @@
6767
});
6868

6969

70-
//QUnit.test('Tubular Self Inductance (R_inner > 0)', function(assert) {
71-
// var bb = new BirdcageBuilder(16, 128e6, 10, 12);
7270

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);
7871

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
8274

75+
// TODO could test against Android/Java intermediate results (Leg/Endring Self & Mutual Inductance) with setup from qunit_test_all_math.html
8376

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
8777

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-
//});
10878

10979

11080
}); // end Birdcage End Rings tests

0 commit comments

Comments
 (0)