// verifyComputed does various consistency tests.
verifyComputed does various consistency tests.
// verifyComputed does various consistency tests .
func verifyComputed() {
	for i, c := range chars {
		for _, f := range c.forms {
			isNo := (f.quickCheck[MDecomposed] == QCNo)
			if (len(f.decomp) > 0) != isNo && !isHangul(rune(i)) {
				log.Fatalf("%U: NF*D must be no if rune decomposes", i)
			}
			isMaybe := f.quickCheck[MComposed] == QCMaybe
			if f.combinesBackward != isMaybe {
				log.Fatalf("%U: NF*C must be maybe if combinesBackward", i)
			}
		}
		nfc := c.forms[FCanonical]
		nfkc := c.forms[FCompatibility]
		if nfc.combinesBackward != nfkc.combinesBackward {
			logger.Fatalf("%U: Cannot combine combinesBackward\n", c.codePoint)
		}
	}
}
func verifyComputed ( ) { for i , c := range chars { for _ , f := range c . forms { isNo := ( f . quickCheck [ MDecomposed ] == QCNo ) if ( len ( f . decomp ) > 0 ) != isNo && ! isHangul ( rune ( i ) ) { log . Fatalf ( " " , i ) } isMaybe := f . quickCheck [ MComposed ] == QCMaybe if f . combinesBackward != isMaybe { log . Fatalf ( " " , i ) } } nfc := c . forms [ FCanonical ] nfkc := c . forms [ FCompatibility ] if nfc . combinesBackward != nfkc . combinesBackward { logger . Fatalf ( " \n " , c . codePoint ) } } }
verifyComputed does various consistency tests.
verifyComputed does various consistency tests .