JeffGrigg icon

ArmstrongTest

JeffGrigg | PRO | 09/17/19 02:18:51 AM UTC | 0 ⭐ | 10811 👁️ | Never ⏰ | []
Java 5 |

0 B

|

None

|

0 👍

/

0 👎

package p20190916;
 
import junit.framework.TestCase;
 
import java.util.TreeSet;
 
public class ArmstrongTest extends TestCase {
 
    public void testKnownArmstrongNumbersBetween0and999() {
        final TreeSet<Integer> armstrongNumbers = new TreeSet<>();
        assertIsArmstrongNumber(armstrongNumbers, 0);
        assertIsArmstrongNumber(armstrongNumbers, 1);
        assertIsArmstrongNumber(armstrongNumbers, 153);
        assertIsArmstrongNumber(armstrongNumbers, 370);
        assertIsArmstrongNumber(armstrongNumbers, 371);
        assertIsArmstrongNumber(armstrongNumbers, 407);
 
        for (int otherNumber = 0; otherNumber <= 999; ++otherNumber) {
            if (!armstrongNumbers.contains(otherNumber)) {
                assertFalse(otherNumber + " should *NOT* be an Armstrong number", NumberFinder.isArmstrong(otherNumber));
            }
        }
    }
 
    private static void assertIsArmstrongNumber(TreeSet<Integer> armstrongNumbers, int armstrongNumber) {
        assertTrue(armstrongNumber + " should be Armstrong number", NumberFinder.isArmstrong(armstrongNumber));
        armstrongNumbers.add(armstrongNumber);
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Xorfidar icon
    03/29/26 09:55:42 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎