Assert function is done.