This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestFixture] | |
public class DarkThreadTests | |
{ | |
[Test] | |
public void find_repeat_group() | |
{ | |
var source = new[] { "A", "B", "B", "C", "X", "C", "C", "B", "B", "D", "D", "D" }; | |
var expected = new[] | |
{ | |
new[] { "B", "B" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Order { | |
static from(json) { | |
return json ? Object.assign(new Order(), json) : null; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add --dev babel-jest @babel/core @babel/preset-env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace PowerfulJetBrains | |
{ | |
public class ContactInfo | |
{ | |
public ContactInfo(string email, string phone, string address) | |
{ | |
Email = email; | |
Phone = phone; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace UnitTestProject4 | |
{ | |
public class Medical | |
{ | |
public Medical(int year, string content) | |
{ | |
Year = year; | |
Content = content; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: joeychen | |
* Date: 2018/10/15 | |
* Time: 上午 11:47 | |
*/ | |
namespace App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: JoeyChen | |
* Date: 2017/12/2 | |
* Time: 下午 01:28 | |
*/ | |
namespace JoeyDojo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public void Test_輸入關鍵字_skilltree_進行搜尋_搜尋結果第一頁應出現skilltree官網的連結() | |
{ | |
//arrange | |
//到google search首頁 | |
var googleSearchPage = new GoogleSearchPage(this); | |
googleSearchPage.Go(); | |
//act | |
//搜尋skilltree |
NewerOlder