https://open.mp logo
Join Discord
Powered by
# general
  • b

    breezy-solstice-69394

    02/04/2023, 2:32 PM
    its soo cool to think about u r literally making a virtual think comes to the real world
  • b

    breezy-solstice-69394

    02/04/2023, 2:32 PM
    i mean, physically
  • b

    breezy-solstice-69394

    02/04/2023, 2:32 PM
    so pog
  • b

    breezy-solstice-69394

    02/04/2023, 2:32 PM
    imagine 3D printers 😯😯😯😯
  • b

    breezy-solstice-69394

    02/04/2023, 2:32 PM
    IDK, I think i know all these things
  • b

    breezy-solstice-69394

    02/04/2023, 2:33 PM
    someone should make a pawn test to we avaliate ourselves @ y less
  • b

    busy-arm-75131

    02/04/2023, 2:33 PM
    Then u good
  • b

    busy-arm-75131

    02/04/2023, 2:33 PM
    u can use y_testing for this
  • b

    breezy-solstice-69394

    02/04/2023, 2:33 PM
    WTH
  • b

    breezy-solstice-69394

    02/04/2023, 2:33 PM
    this exists?
  • b

    breezy-solstice-69394

    02/04/2023, 2:33 PM
    XD
  • b

    busy-arm-75131

    02/04/2023, 2:33 PM
    uhhh yea
  • b

    busy-arm-75131

    02/04/2023, 2:33 PM
    It exists since ysi 3 or smth
  • b

    busy-arm-75131

    02/04/2023, 2:34 PM
    You can just:
    Copy code
    c
    Test:MyTestingName()
    {
        ASSERT(1 == 2);
    }
  • b

    busy-arm-75131

    02/04/2023, 2:34 PM
    And then add:
    #define RUN_TESTS
    just before including
    y_testing
  • b

    busy-arm-75131

    02/04/2023, 2:35 PM
    When you run the script, it automatically test your script and report if
    ASSERT
    function is pass or no
  • b

    busy-arm-75131

    02/04/2023, 2:35 PM
    Speaking of
    ASSERT
    , there is many assertions you can use
  • b

    billions-easter-89791

    02/04/2023, 2:35 PM
    @breezy-solstice-69394 https://github.com/Southclaws/pawn-redis/blob/master/test.pwn
  • b

    billions-easter-89791

    02/04/2023, 2:35 PM
    example of tests
  • b

    busy-football-27508

    02/04/2023, 2:36 PM
    cj
  • f

    fierce-waitress-53434

    02/04/2023, 2:36 PM
    You gonna have to walk now, sucker!
  • b

    billions-easter-89791

    02/04/2023, 2:37 PM
    TestInit
    is used for pre-setup for a test such as connecting to a db, making a request etc
    TestClose
    is clean up after the test so closing db, making final queries etc
    Test
    is the test case itself
  • v

    victorious-lamp-45130

    02/04/2023, 2:38 PM
    Literally me!
  • i

    icy-match-81343

    02/04/2023, 2:38 PM
  • i

    icy-match-81343

    02/04/2023, 2:38 PM
  • b

    breezy-solstice-69394

    02/04/2023, 2:38 PM
    i am sorry i am new
  • b

    breezy-solstice-69394

    02/04/2023, 2:39 PM
    kjkkkkjjkkkkkjkkkkkkkkkkkkkkkkkkkkkkkkkkk that guy is using ksenon pfp
  • b

    breezy-solstice-69394

    02/04/2023, 2:40 PM
    ok i ll test these test 🤓🤓
  • b

    busy-football-27508

    02/04/2023, 2:41 PM
    unfortunately he doesn't use that pfp anymore:))
  • b

    breezy-solstice-69394

    02/04/2023, 2:41 PM
    Helion & Vince 💀
1...383783837938380...40089Latest