| 83 | } |
| 84 | |
| 85 | map<int,string> Resistor::constructRevColcodeMap() |
| 86 | { |
| 87 | map<int,string> revColcodeMap; |
| 88 | revColcodeMap[-2]="silver"; |
| 89 | revColcodeMap[-1]="gold"; |
| 90 | revColcodeMap[0]="black"; |
| 91 | revColcodeMap[1]="brown"; |
| 92 | revColcodeMap[2]="red"; |
| 93 | revColcodeMap[3]="orange"; |
| 94 | revColcodeMap[4]="yellow"; |
| 95 | revColcodeMap[5]="green"; |
| 96 | revColcodeMap[6]="blue"; |
| 97 | revColcodeMap[7]="violet"; |
| 98 | revColcodeMap[8]="gray"; |
| 99 | revColcodeMap[9]="white"; |
| 100 | return(revColcodeMap); |
| 101 | } |
| 102 | |
| 103 | map<float,string> Resistor::constructRevTolcodeMap() |
| 104 | { |
nothing calls this directly
no outgoing calls
no test coverage detected