This file contains hidden or 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 NUnit.Framework; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Remote; | |
namespace SauceLabsParallelTests | |
{ | |
[TestFixture("chrome", "39", "Windows 7", "", "")] | |
[Parallelizable] | |
public class SauceNUnitTest2 |
This file contains hidden or 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 NUnit.Framework; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Remote; | |
namespace ParallelTestingBrowserStack | |
{ | |
[TestFixture] | |
[Parallelizable] | |
public class BrowserstackTest1 |
This file contains hidden or 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.Firefox; | |
namespace ParallelLocal | |
{ | |
[TestFixture] | |
[Parallelizable] | |
public class ParallelLocal | |
{ | |
[Test] |
This file contains hidden or 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.Firefox; | |
namespace ParallelLocal | |
{ | |
[TestFixture] | |
public class ParallelLocal | |
{ | |
[Test] | |
public void Test1() |
This file contains hidden or 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
;; Example from https://github.com/WebAssembly/spec/blob/05688003a4d5abf31781141f9b3fde588e454414/ml-proto/test/fac.wast | |
(module | |
;; Recursive factorial | |
(func (param i64) (result i64) | |
(if (i64.eq (get_local 0) (i64.const 0)) | |
(i64.const 1) | |
(i64.mul (get_local 0) (call 0 (i64.sub (get_local 0) (i64.const 1)))) | |
) | |
) |
This file contains hidden or 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
function DiagModule(stdlib, foreign, heap) { | |
"use asm"; | |
// Variable Declarations | |
var sqrt = stdlib.Math.sqrt; | |
// Function Declarations | |
function square(x) { | |
x = +x; | |
return +(x*x); |
This file contains hidden or 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
// A simple "class" in JavaScript with fields "a", and "b" | |
function SimpleClass(a, b) { | |
this.a = a; | |
this.b = b; | |
} | |
// A function on the class called "addNumbers" | |
SimpleClass.prototype.addNumbers = function() { | |
return this.a + this.b; | |
} |
This file contains hidden or 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
// A simple "class" in JavaScript with fields "a", and "b" | |
function SimpleClass(a, b) { | |
this.a = a; | |
this.b = b; | |
} | |
// A function on the class called "addNumbers" | |
SimpleClass.prototype.addNumbers = function() { | |
return this.a + this.b; | |
} |
This file contains hidden or 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
function a( ) { | |
var myvar = 2 | |
function b() { | |
console.log(myvar); | |
} | |
b( ); | |
} | |
var myVar = 1; |
This file contains hidden or 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
function b() { | |
console.log(myvar); | |
} | |
function a( ) { | |
var myvar = 2 | |
b( ); | |
} | |
var myvar = 1; |