kl = kl_bits([0.5 0.5 0], [0.25 0.25 0.5]); testclose(kl, 1); kl = kl_bits([0.5; 0.5; 0], [0.25; 0; 0.75]); testequal(kl, Inf); test_exit