unit n. 1.個(gè)體,一個(gè),一人。 2.(計(jì)值、組織、機(jī)構(gòu))單位;單元;小組,分部;【軍事】部隊(duì);分隊(duì)。 3.【機(jī)械工程】機(jī)組,裝置;元件,部件,附件;一組用具[設(shè)備]。 4.【數(shù)學(xué)】單位數(shù);最小整數(shù);基數(shù)。 the guerrilla units 游擊隊(duì)。 army units 陸軍部隊(duì)。 international electrical units 國際電力單位 〔volt, ohm 等〕。 the C. G. S. system of units 厘米、克、秒單位制。 a line unit 【電學(xué)】接線盒。 the remote control unit 遙控裝置。 the drive unit 傳動(dòng)裝置。 a point unit 質(zhì)點(diǎn)。 a missile-borne unit 導(dǎo)彈附件。 an infrared detection unit 【火箭】熱探頭。 be a unit 〔美國〕一致 (We were a unit on the question. 我們?cè)谶@個(gè)問題上是一致的)。
In computer programming, unit testing is a method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine if they are fit for use. Intuitively, one can view a unit as the smallest testable part of an application.