Ferrite-core transformers used in switching power supplies can have large capacitances 
  effectively in parallel with a winding, which make it difficult to measure the 
  winding's inductance. Typically, if the capacitance is the result of a reflection 
  from some secondary, it's unremovable, and direct measurement of an inductance, 
  Lx , in the presence of a parallel capacitance, Cx , is 
  corrupted by Cx on many inductance meters. Moreover, direct measurement 
  of Cx in the presence of Lx is virtually impossible. But 
  with this AGC-controlled oscillator circuit, both Lx and Cx 
  can be measured, each without any corrupting influence from the other.
 In the test circuit (see the figure), 
  switch S1 connects any one of four capacitors (C1 through 
  C4) into the circuit. Then, with S2 open, rotate R3 
  clockwise from its full CCW position until a 2-V pk-pk output signal is obtained. 
  If oscillation can't be achieved, return R3 to full CCW, close S2 
  , and try again.
 Next, the frequency is measured and recorded. Then switch S1 is 
  set for any one of the remaining capacitors and the aforementioned process is 
  repeated.
 As an example, say that capacitors C1 and C2 were used 
  to obtain frequencies f1 and f2. Lx and Cx 
  are found from the following equations: