Doppel.

Å×½ºÆ® ¶óÀ̺귯¸®
Áö±Ý ´Ù¿î·Îµå

Doppel. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Darius Powell

Doppel. ű×


Doppel. ¼³¸í

¶óÀ̺귯¸® Å×½ºÆ® DoppelÀº Å×½ºÆ®¸¦ ´Ü¼øÇÑ ¼ø¼­·Î ¼ø¼­·Î ÀÛ¼ºÇÒ ¼öÀÖ´Â Python ¸ðµâÀÔ´Ï´Ù. °¢ ´Ü°è´Â ÅëÈ­ ¶Ç´Â ÅëÈ­ ÁßÀÔ´Ï´Ù. ¿©±â¼­ Å×½ºÆ®ÁßÀÎ Äڵ带 Å×½ºÆ® ÄÚµå·Î È£ÃâÇÏ´Â °÷À̸ç ÄÝ ¾Æ¿ôÀº DOPPEL.CALL·Î ´ëü µÈ FNÀ¸·Î È£ÃâµÇ´Â ¼Ò½º Äڵ尡 ´ÙÀ½ ¿¹Á¦¿¡¼­ Å×½ºÆ® ±â´ë °´Ã¼°¡ »ý¼ºµÇ¾ú´Ù°í °¡Á¤ÇÕ´Ï´Ù. DOPPEL testExpectations () t : test : t.call (explays.fn1)À» args : t.call (examples.fn2) .ARGS ( 'arg1', 'arg2')·Î Å×½ºÆ®ÁßÀÎ ÄÚµå·Î È£ÃâÇÏ´Â ÄÚµå arg3 = 'arg3', arg4 = 'arg4') ¹Ýȯ °ªÀ» °ËÁõÇÏÁö ¾Êµµ·Ï : t.call (exampless.fn1) ¸®ÅÍ·² °ªÀ» ¸®ÅÍ·²·Î È®ÀÎÇÏ·Á¸é t.call (examples.fn1) .RETURNS ( 'fn1 ÇÔ¼ö¸¦ »ç¿ëÇÏ¿© ¹Ýȯ °ªÀ» È®ÀÎÇÏ·Á¸é ´ÙÀ½À» ¼öÇàÇϽʽÿÀ. def verify_fn (°á°ú) : Return result == 'fn1 riding.call (example.get_string). Returns (verifle_fn) È£Ãâ ´ÙÀ½ ¿¹Á¦¿¡¼­´Â fn_replaced°¡ ´ëüµÇ¾ú´Ù°í °¡Á¤ÇÕ´Ï´Ù. Ŭ·¡½º TestExamples ( 'example.fn_replaced')) : ¶ÇÇÑ Å×½ºÆ® ±â´ëÄ¡ °´Ã¼°¡ ÀÛ¼ºµÇ¾ú°í Å×½ºÆ®ÁßÀÎ Äڵ尡 È£ÃâµÇ¾ú´Ù°í °¡Á¤ÇÕ´Ï´Ù. doppel.testexpectations () a st : t.call (examples.fn3) .Args ( 'arg1', 'arg2', arg3 = 'arg3', arg4 = 'arg4') args°¡ È®ÀεÇÁö ¾ÊÀ½À» ±â´ëÇÏ´Â examples.fn_replaced () Literal : exampleAL : examples.fn_replaced ( 'arg1', 'arg2', arg3 = 'arg3', arg2 ', arg3'arg3 ', arg2' args, ** kwargs) : args == ( 'arg1', 'arg2') ¹× kwargs == {arg3 ':'arg3 ','arg4 ':'arg4 '} examples.fn_replaced (verify_fn) DOPPEL : exklays.fn_replaced () ¸®ÅÍ·²À» ¹ÝȯÇÏ·Á¸é examples.fn_replaced (). retuct : defs_fn ()¿¡¼­ Á¦°ø ÇÑ °ªÀ» ¹ÝȯÇÏ·Á¸é ( 'ret1'), RETRIENTEX ( reture_fn) ¿¹¿Ü¸¦ Á¦±âÇÏ·Á¸é explays.fn_replaced (). Á¦ÀÛ (¿¹¿Ü ( '¿¹¿Ü 1')) ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã


Doppel. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

filterunit.

´Â ¸í·É Çà ÇÁ·Î±×·¥¿¡ ´ëÇØ ´ÜÀ§ Å×½ºÆ®¸¦ °í¾È ÇÒ ¼öÀÖ°ÔÇÕ´Ï´Ù. ...

125

´Ù¿î·Îµå