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
let ret1 = List.zip [0..4] [10;20;30;40;50];; | |
let mul (i, x) = x * i;; | |
let ret2 = List.map mul ret1;; | |
let calc xs = List.fold (fun acc value -> acc + value) 0 (List.map mul (List.zip [0..4] xs));; | |
calc [10;20;30;40;50];; |
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 NUnit.Framework; | |
using OpenQA.Selenium.IE; | |
using PageObjects; | |
namespace WebDriverTest { | |
[TestFixture] | |
public class PageObjectTest { | |
[Test] | |
public void 検索() { | |
var driver = new InternetExplorerDriver(); |
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
package webdrivertest; | |
import static org.openqa.selenium.support.ui.ExpectedConditions.titleIs; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.remote.RemoteWebDriver; | |
import org.openqa.selenium.support.ui.Wait; | |
import org.openqa.selenium.support.ui.WebDriverWait; |
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; | |
using System.Text.RegularExpressions; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Support.UI; | |
namespace WebDriverTest { | |
public class BingSearch { | |
public static BingSearch Create(IWebDriver driver) { | |
var instance = new BingSearch(driver); | |
driver.Url = "http://www.bing.com"; |
NewerOlder